- Sort Score
- Result 10 results
- Languages All
Results 21 - 28 of 28 for RegularFileSnapshot (0.39 sec)
-
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingResourceHasherTest.groovy
return Mock(RegularFileSnapshotContext) { getSnapshot() >> snapshot(file, fileType) } } RegularFileSnapshot snapshot(File file, FileType fileType) { return Mock(RegularFileSnapshot) { getAbsolutePath() >> file.absolutePath getType() >> fileType getHash() >> Hashing.hashFile(file) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 7.9K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/FileSystemSnapshotFilter.java
import org.gradle.internal.snapshot.FileSystemSnapshot; import org.gradle.internal.snapshot.MerkleDirectorySnapshotBuilder; import org.gradle.internal.snapshot.MissingFileSnapshot; import org.gradle.internal.snapshot.RegularFileSnapshot; import org.gradle.internal.snapshot.RelativePathTracker; import org.gradle.internal.snapshot.RelativePathTrackingFileSystemSnapshotHierarchyVisitor; import org.gradle.internal.snapshot.SnapshotVisitResult;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/ZipHasherTest.groovy
import org.gradle.internal.fingerprint.hashing.RegularFileSnapshotContext import org.gradle.internal.fingerprint.hashing.ResourceHasher import org.gradle.internal.hash.TestHashCodes import org.gradle.internal.snapshot.RegularFileSnapshot import org.gradle.test.fixtures.file.TestFile import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider import org.junit.Rule import spock.lang.Specification import java.util.jar.Attributes
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 7.2K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/FileSystemLocationSnapshot.java
default void visitRegularFile(RegularFileSnapshot fileSnapshot) {}; default void visitMissing(MissingFileSnapshot missingSnapshot) {}; } interface FileSystemLocationSnapshotTransformer<T> { T visitDirectory(DirectorySnapshot directorySnapshot); T visitRegularFile(RegularFileSnapshot fileSnapshot); T visitMissing(MissingFileSnapshot missingSnapshot);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 18 15:09:45 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultOverlappingOutputDetector.java
import org.gradle.internal.snapshot.FileSystemLocationSnapshot; import org.gradle.internal.snapshot.FileSystemSnapshot; import org.gradle.internal.snapshot.MissingFileSnapshot; import org.gradle.internal.snapshot.RegularFileSnapshot; import org.gradle.internal.snapshot.RelativePathTracker; import org.gradle.internal.snapshot.RelativePathTrackingFileSystemSnapshotHierarchyVisitor; import org.gradle.internal.snapshot.SnapshotUtil;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/RegularFileSnapshotTest.groovy
class RegularFileSnapshotTest extends AbstractFileSystemLeafSnapshotTest { @Override protected FileSystemLeafSnapshot createInitialRootNode(String absolutePath, AccessType accessType) { return new RegularFileSnapshot(absolutePath, PathUtil.getFileName(absolutePath), TestHashCodes.hashCodeFrom(1235), DefaultFileMetadata.file(1, 2, accessType)) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 13:19:32 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-execution/build-cache-example-client/src/main/java/org/gradle/caching/example/ExampleBuildCacheClient.java
import org.gradle.internal.snapshot.DirectorySnapshot; import org.gradle.internal.snapshot.FileSystemLocationSnapshot; import org.gradle.internal.snapshot.MissingFileSnapshot; import org.gradle.internal.snapshot.RegularFileSnapshot; import org.gradle.internal.snapshot.SnapshotHierarchy; import org.gradle.internal.snapshot.SnapshotVisitResult; import org.gradle.internal.vfs.FileSystemAccess;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 05 19:35:22 UTC 2024 - 6.8K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/testFixtures/groovy/org/gradle/internal/snapshot/TestSnapshotFixture.groovy
regularFile(absolutePath, DIRECT, hashCode) } FileSystemLocationSnapshot regularFile(String absolutePath, FileMetadata.AccessType accessType, @Nullable Long hashCode) { new RegularFileSnapshot( FilenameUtils.separatorsToSystem(absolutePath), FilenameUtils.getName(absolutePath), TestHashCodes.hashCodeFrom(hashCode ?: pseudoRandom.nextLong()),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 3.2K bytes - Viewed (0)