- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 79 for FileSystemSnapshot (0.41 sec)
-
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultOutputFilesRepository.java
return outputFiles.getIfPresent(absoluteFile.getPath()) != null; } @Override public void recordOutputs(Iterable<? extends FileSystemSnapshot> outputSnapshots) { for (FileSystemSnapshot outputFileSnapshot : outputSnapshots) { outputFileSnapshot.accept(entrySnapshot -> { entrySnapshot.accept(new FileSystemLocationSnapshotVisitor() {
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/snapshots/src/main/java/org/gradle/internal/snapshot/SnapshotUtil.java
return Optional.empty(); } }); } public static ImmutableListMultimap<String, HashCode> getRootHashes(FileSystemSnapshot roots) { if (roots == FileSystemSnapshot.EMPTY) { return ImmutableListMultimap.of(); } ImmutableListMultimap.Builder<String, HashCode> builder = ImmutableListMultimap.builder();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:34 UTC 2024 - 5.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/fingerprint/impl/DefaultFileCollectionSnapshotter.java
((FileCollectionInternal) fileCollection).visitStructure(visitor); FileSystemSnapshot snapshot = CompositeFileSystemSnapshot.of(visitor.getRoots()); boolean containsArchiveTrees = visitor.containsArchiveTrees(); return new Result() { @Override public FileSystemSnapshot getSnapshot() { return snapshot; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 29 16:58:45 UTC 2022 - 3.5K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/FileCollectionSnapshotter.java
*/ package org.gradle.internal.execution; import org.gradle.api.file.FileCollection; import org.gradle.internal.snapshot.FileSystemSnapshot; /** * Service for snapshotting {@link FileCollection}s. */ public interface FileCollectionSnapshotter { interface Result { FileSystemSnapshot getSnapshot(); /** * Whether any of the snapshot file collections is an archive tree backed by a file.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/FingerprintingStrategy.java
*/ Map<String, FileSystemLocationFingerprint> collectFingerprints(FileSystemSnapshot roots); /** * Used by the {@link FileCollectionFingerprint} to hash a map of fingerprints generated by {@link #collectFingerprints(FileSystemSnapshot)} */ FingerprintHashingStrategy getHashingStrategy(); String getIdentifier();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/OutputSnapshotUtilTest.groovy
} private FileSystemSnapshot snapshotOutput(File output) { virtualFileSystem.invalidateAll() return fileSystemAccess.read(output.getAbsolutePath()) } private static List<File> collectFiles(FileSystemSnapshot fileSystemSnapshots) { SnapshotVisitorUtil.getAbsolutePaths(fileSystemSnapshots, true).collect { new File(it) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 7.1K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/FileSystemSnapshotFilterTest.groovy
} def "filters empty tree"() { expect: FileSystemSnapshotFilter.filterSnapshot(snapshottingFilter(include("**/*")).asSnapshotPredicate, FileSystemSnapshot.EMPTY) == FileSystemSnapshot.EMPTY } def "root directory is always matched"() { def root = temporaryFolder.createFile("root")
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/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/service/BuildCacheLoadResult.java
import org.gradle.caching.internal.origin.OriginMetadata; import org.gradle.internal.snapshot.FileSystemSnapshot; public interface BuildCacheLoadResult { long getArtifactEntryCount(); OriginMetadata getOriginMetadata(); ImmutableSortedMap<String, FileSystemSnapshot> getResultingSnapshots();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 1K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultPreviousExecutionState.java
import org.gradle.internal.snapshot.FileSystemSnapshot; import org.gradle.internal.snapshot.ValueSnapshot; import org.gradle.internal.snapshot.impl.ImplementationSnapshot; public class DefaultPreviousExecutionState extends AbstractInputExecutionState<FileCollectionFingerprint> implements PreviousExecutionState { private final ImmutableSortedMap<String, FileSystemSnapshot> outputFilesProducedByWork;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 29 17:44:52 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/CaptureIncrementalStateBeforeExecutionStep.java
@Override protected ImmutableSortedMap<String, FileSystemSnapshot> captureOutputSnapshots(UnitOfWork work, WorkspaceContext context) { return outputSnapshotter.snapshotOutputs(work, context.getWorkspace()); } @Nullable @Override protected OverlappingOutputs detectOverlappingOutputs(UnitOfWork work, PreviousExecutionContext context, ImmutableSortedMap<String, FileSystemSnapshot> unfilteredOutputSnapshots) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 10:36:34 UTC 2024 - 2.9K bytes - Viewed (0)