- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for shouldBeIgnored (0.29 sec)
-
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/IgnoringResourceFilter.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/ResourceFilter.java
@Override public boolean shouldBeIgnored(Supplier<String[]> relativePathFactory) { return false; } @Override public void appendConfigurationToHasher(Hasher hasher) { hasher.putString(getClass().getName()); } }; boolean shouldBeIgnored(Supplier<String[]> relativePathFactory);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/ResourceEntryFilter.java
@Override public boolean shouldBeIgnored(String entry) { return false; } @Override public void appendConfigurationToHasher(Hasher hasher) { hasher.putString(getClass().getName()); } }; boolean shouldBeIgnored(String entry);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/UnionResourceEntryFilter.java
public UnionResourceEntryFilter(Collection<ResourceEntryFilter> filters) { this.filters = filters; } @Override public boolean shouldBeIgnored(String entry) { return filters.stream().anyMatch(resourceEntryFilter -> resourceEntryFilter.shouldBeIgnored(entry)); } @Override public void appendConfigurationToHasher(Hasher hasher) { hasher.putString(getClass().getName());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/IgnoringResourceHasher.java
return resourceFilter.shouldBeIgnored(snapshotContext.getRelativePathSegments()) ? null : delegate.hash(snapshotContext); } @Nullable @Override public HashCode hash(ZipEntryContext zipEntryContext) throws IOException { return resourceFilter.shouldBeIgnored(zipEntryContext.getRelativePathSegments()) ? null : delegate.hash(zipEntryContext); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/IgnoringResourceHasherTest.groovy
hasher.hash(snapshotContext) then: 1 * resourceFilter.shouldBeIgnored(_) >> false 1 * delegate.hash(snapshotContext) } def "filters resources when resource filter matches"() { when: def hash = hasher.hash(snapshotContext) then: 1 * resourceFilter.shouldBeIgnored(_) >> true 0 * delegate.hash(_) and: hash == null }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/IgnoringResourceEntryFilter.java
private final ImmutableSet<String> ignores; public IgnoringResourceEntryFilter(ImmutableSet<String> ignores) { this.ignores = ignores; } @Override public boolean shouldBeIgnored(String entry) { return ignores.contains(entry); } @Override public void appendConfigurationToHasher(Hasher hasher) { hasher.putString(getClass().getName());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/MetaInfAwareClasspathResourceHasher.java
)); List<Map.Entry<String, String>> normalizedEntries = entries. entrySet() .stream() .filter(entry -> !attributeResourceFilter.shouldBeIgnored(entry.getKey())) .sorted(Map.Entry.comparingByKey()) .collect(Collectors.toList()); // Short-circuiting when there's no matching entries allows empty manifest sections to be ignored
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 5.5K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/PropertiesFileAwareClasspathResourceHasher.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 6.3K bytes - Viewed (0)