- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for RegularFileSnapshot (0.61 sec)
-
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/RegularFileSnapshot.java
return isContentUpToDate(other) && metadata.equals(((RegularFileSnapshot) other).metadata); } @Override public boolean isContentUpToDate(FileSystemLocationSnapshot other) { if (!(other instanceof RegularFileSnapshot)) { return false; } return contentHash.equals(((RegularFileSnapshot) other).contentHash); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 13:19:32 UTC 2023 - 3K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/OverlappingOutputsFilterTest.groovy
result == filteredOutputs 0 * _ } private static RegularFileSnapshot fileSnapshot(String name, HashCode contentHash) { new RegularFileSnapshot("/absolute/${name}", name, contentHash, DefaultFileMetadata.file(0L, 0L, FileMetadata.AccessType.DIRECT)) } private static FileSystemLocationSnapshot directorySnapshot(RegularFileSnapshot... contents) { def builder = MerkleDirectorySnapshotBuilder.sortingRequired()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:30 UTC 2023 - 4K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/hashing/RegularFileSnapshotContext.java
* limitations under the License. */ package org.gradle.internal.fingerprint.hashing; import org.gradle.internal.snapshot.RegularFileSnapshot; import java.util.function.Supplier; public interface RegularFileSnapshotContext { Supplier<String[]> getRelativePathSegments(); RegularFileSnapshot getSnapshot();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 900 bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/AbiExtractingClasspathResourceHasher.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 6.4K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/CachingResourceHasherTest.groovy
import org.gradle.internal.hash.TestHashCodes import org.gradle.internal.snapshot.RegularFileSnapshot import spock.lang.Specification class CachingResourceHasherTest extends Specification { def delegate = Mock(ResourceHasher) def path = "some" def snapshotterCacheService = Mock(ResourceSnapshotterCacheService)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/FileSystemSnapshotFilterTest.groovy
def root = temporaryFolder.createFile("root") def regularFileSnapshot = new RegularFileSnapshot(root.absolutePath, root.name, TestHashCodes.hashCodeFrom(1234), DefaultFileMetadata.file(5, 1234, AccessType.DIRECT)) expect: filteredPaths(regularFileSnapshot, include("different")) == [] as Set filteredPaths(regularFileSnapshot, include(root.name)) == [root] as Set }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 5.3K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/DefaultRegularFileSnapshotContext.java
import org.gradle.internal.fingerprint.hashing.RegularFileSnapshotContext; import org.gradle.internal.snapshot.RegularFileSnapshot; import java.util.function.Supplier; public class DefaultRegularFileSnapshotContext implements RegularFileSnapshotContext { private final Supplier<String[]> relativePathSegmentSupplier; private final RegularFileSnapshot snapshot;
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/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultOutputFilesRepository.java
import org.gradle.internal.snapshot.FileSystemLocationSnapshot.FileSystemLocationSnapshotVisitor; import org.gradle.internal.snapshot.FileSystemSnapshot; import org.gradle.internal.snapshot.RegularFileSnapshot; import org.gradle.internal.snapshot.SnapshotVisitResult; import java.io.Closeable; import java.io.File; import java.io.IOException;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:33 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/test/groovy/org/gradle/caching/internal/controller/DefaultBuildCacheControllerPackOperationExecutorTest.groovy
def outputFileSnapshot = new RegularFileSnapshot(outputFile.absolutePath, outputFile.name, TestHashCodes.hashCodeFrom(234), DefaultFileMetadata.file(15, 234, FileMetadata.AccessType.DIRECT)) def fileSnapshots = [ outputDir: new DirectorySnapshot(outputDir.getAbsolutePath(), outputDir.name, FileMetadata.AccessType.DIRECT, TestHashCodes.hashCodeFrom(456), [
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 22:18:26 UTC 2024 - 7.6K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/DirectorySnapshotTest.groovy
new RegularFileSnapshot(childFile.absolutePath, childFile.name, TestHashCodes.hashCodeFrom(9876), DefaultFileMetadata.file(123, 456, FileMetadata.AccessType.DIRECT)) ]),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 13:19:32 UTC 2023 - 4.5K bytes - Viewed (0)