- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 79 for FileSystemSnapshot (0.22 sec)
-
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/CaptureIncrementalStateBeforeExecutionStepTest.groovy
def setup() { _ * work.inputFingerprinter >> inputFingerprinter } def "output file properties are snapshotted"() { def outputSnapshots = ImmutableSortedMap.<String, FileSystemSnapshot>of("outputDir", Mock(FileSystemSnapshot)) when: step.execute(work, context) then: _ * outputSnapshotter.snapshotOutputs(work, _) >> outputSnapshots interaction { snapshotState() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 10:36:34 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/NoOpBuildCacheController.java
import org.gradle.caching.BuildCacheKey; import org.gradle.caching.internal.CacheableEntity; import org.gradle.caching.internal.controller.service.BuildCacheLoadResult; import org.gradle.internal.snapshot.FileSystemSnapshot; import java.time.Duration; import java.util.Map; import java.util.Optional; public class NoOpBuildCacheController implements BuildCacheController {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 16:15:26 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/OverlappingOutputDetector.java
import org.gradle.internal.service.scopes.ServiceScope; import org.gradle.internal.snapshot.FileSystemSnapshot; import javax.annotation.Nullable; @ServiceScope(Scope.Global.class) public interface OverlappingOutputDetector { @Nullable OverlappingOutputs detect(ImmutableSortedMap<String, FileSystemSnapshot> previous, ImmutableSortedMap<String, FileSystemSnapshot> current);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 00:47:05 UTC 2024 - 1.1K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/FileCollectionFingerprinter.java
import org.gradle.internal.fingerprint.CurrentFileCollectionFingerprint; import org.gradle.internal.fingerprint.FileCollectionFingerprint; import org.gradle.internal.fingerprint.FileNormalizer; import org.gradle.internal.snapshot.FileSystemSnapshot; import javax.annotation.Nullable; public interface FileCollectionFingerprinter { /** * The type used to refer to this fingerprinter in the {@link FileCollectionFingerprinterRegistry}. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/FileSystemSnapshotSerializerTest.groovy
when: def out = serialize(snapshots, serializer) then: assertEqualSnapshots(out, snapshots) } private static void assertEqualSnapshots(FileSystemSnapshot snapshot, FileSystemSnapshot expected) { assert snapshot == expected assert indexByAbsolutePath(snapshot) == indexByAbsolutePath(expected) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/core-execution/build-cache-packaging/src/test/groovy/org/gradle/caching/internal/packaging/impl/AbstractTarBuildCacheEntryPackerSpec.groovy
def pack(OutputStream output, OriginWriter writeOrigin = this.writeOrigin, TreeDefinition... treeDefs) { Map<String, FileSystemSnapshot> snapshots = treeDefs.collectEntries { treeDef -> FileSystemSnapshot result = FileSystemSnapshot.EMPTY if (treeDef.root != null) { result = fileSystemAccess.read(treeDef.root.absolutePath) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/testFixtures/groovy/org/gradle/internal/snapshot/SnapshotVisitorUtil.groovy
import org.gradle.internal.RelativePathSupplier import static org.gradle.internal.snapshot.SnapshotVisitResult.CONTINUE class SnapshotVisitorUtil { static List<String> getAbsolutePaths(FileSystemSnapshot snapshot, boolean includeRoots = false) { def absolutePaths = [] snapshot.accept(new RootTrackingFileSystemSnapshotHierarchyVisitor() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/DefaultBuildCacheController.java
} @Override public ImmutableSortedMap<String, FileSystemSnapshot> getResultingSnapshots() { return resultingSnapshots; } }; } private ImmutableSortedMap<String, FileSystemSnapshot> snapshotUnpackedData(CacheableEntity entity, Map<String, ? extends FileSystemLocationSnapshot> treeSnapshots) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 08 08:29:47 UTC 2024 - 14K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/FileSystemSnapshotFilter.java
public class FileSystemSnapshotFilter { private FileSystemSnapshotFilter() { } public static FileSystemSnapshot filterSnapshot(SnapshottingFilter.FileSystemSnapshotPredicate predicate, FileSystemSnapshot unfiltered) { DirectorySnapshotBuilder builder = MerkleDirectorySnapshotBuilder.noSortingRequired(); AtomicBoolean hasBeenFiltered = new AtomicBoolean();
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/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/EmptyCurrentFileCollectionFingerprint.java
} @Override public Map<String, FileSystemLocationFingerprint> getFingerprints() { return Collections.emptyMap(); } @Override public FileSystemSnapshot getSnapshot() { return FileSystemSnapshot.EMPTY; } @Override public ImmutableMultimap<String, HashCode> getRootHashes() { return ImmutableMultimap.of(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 2.5K bytes - Viewed (0)