- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for AnyWildcardPatternStep (0.37 sec)
-
platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/pattern/AnyWildcardPatternStep.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.api.internal.file.pattern; public class AnyWildcardPatternStep implements PatternStep { @Override public String toString() { return "{any}"; } @Override public boolean matches(String candidate) { return true; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 891 bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/pattern/PatternStepFactory.java
* limitations under the License. */ package org.gradle.api.internal.file.pattern; public class PatternStepFactory { private static final AnyWildcardPatternStep ANY_WILDCARD_PATTERN_STEP = new AnyWildcardPatternStep(); public static PatternStep getStep(String source, boolean caseSensitive) { if (source.length() == 0) { return new FixedPatternStep(source, caseSensitive);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/PatternStepFactoryTest.groovy
expect: def step = PatternStepFactory.getStep("**", true); step instanceof AnyWildcardPatternStep step.matches("anything") step.matches("") } def "creates step for * wildcard"() { expect: def step = PatternStepFactory.getStep("*", true); step instanceof AnyWildcardPatternStep step.matches("anything") step.matches("") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 5.3K bytes - Viewed (0)