- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 79 for FileSystemSnapshot (0.27 sec)
-
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultExecutionOutputState.java
import org.gradle.internal.execution.history.ExecutionOutputState; import org.gradle.internal.snapshot.FileSystemSnapshot; public class DefaultExecutionOutputState implements ExecutionOutputState { private final boolean successful; private final ImmutableSortedMap<String, FileSystemSnapshot> outputFilesProducedByWork; private final OriginMetadata originMetadata; private final boolean reused;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:29 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/CaptureOutputsAfterExecutionStepTest.groovy
def outputSnapshots = ImmutableSortedMap.<String, FileSystemSnapshot>of( "outputDir", Mock(FileSystemSnapshot), "outputFile", Mock(FileSystemSnapshot), ) def filteredOutputSnapshots = ImmutableSortedMap.<String, FileSystemSnapshot>of( "outputDir", Mock(FileSystemSnapshot) ) def buildCacheKey = HashCode.fromString("0123456789abcdef")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 10:36:34 UTC 2024 - 5.1K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/DefaultOverlappingOutputDetectorTest.groovy
def "detects no overlap when there are none"() { def previousOutputFiles = ImmutableSortedMap.<String, FileSystemSnapshot> of( "output", FileSystemSnapshot.EMPTY ) def outputFilesBeforeExecution = ImmutableSortedMap.<String, FileSystemSnapshot> of( "output", FileSystemSnapshot.EMPTY ) expect: detector.detect(previousOutputFiles, outputFilesBeforeExecution) == null
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/OverlappingOutputsFilter.java
import org.gradle.internal.snapshot.FileSystemSnapshot; import static org.gradle.internal.execution.history.impl.OutputSnapshotUtil.filterOutputsAfterExecution; public class OverlappingOutputsFilter implements AfterExecutionOutputFilter<BeforeExecutionContext> { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 09:40:08 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/SnapshotterFixture.groovy
import org.gradle.internal.snapshot.FileSystemSnapshot import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider @CompileStatic trait SnapshotterFixture { abstract TestNameTestDirectoryProvider getTemporaryFolder() final FileCollectionSnapshotter snapshotter = TestFiles.fileCollectionSnapshotter() ImmutableSortedMap<String, FileSystemSnapshot> snapshotsOf(Map<String, Object> properties) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:32 UTC 2023 - 2K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultOverlappingOutputDetector.java
@Nullable public OverlappingOutputs detect(ImmutableSortedMap<String, FileSystemSnapshot> previous, ImmutableSortedMap<String, FileSystemSnapshot> current) { for (Map.Entry<String, FileSystemSnapshot> entry : current.entrySet()) { String propertyName = entry.getKey(); FileSystemSnapshot currentSnapshot = entry.getValue(); FileSystemSnapshot previousSnapshot = previous.getOrDefault(propertyName, FileSystemSnapshot.EMPTY);
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/main/java/org/gradle/internal/fingerprint/impl/DefaultCurrentFileCollectionFingerprint.java
private final String identifier; private final FileSystemSnapshot roots; private final ImmutableMultimap<String, HashCode> rootHashes; private final HashCode strategyConfigurationHash; private HashCode hash; public static CurrentFileCollectionFingerprint from(FileSystemSnapshot roots, FingerprintingStrategy strategy, @Nullable FileCollectionFingerprint candidate) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/impl/DefaultOutputSnapshotter.java
this.fileCollectionSnapshotter = fileCollectionSnapshotter; } @Override public ImmutableSortedMap<String, FileSystemSnapshot> snapshotOutputs(UnitOfWork work, File workspace) { ImmutableSortedMap.Builder<String, FileSystemSnapshot> builder = ImmutableSortedMap.naturalOrder(); work.visitOutputs(workspace, new UnitOfWork.OutputVisitor() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/AbstractCaptureStateBeforeExecutionStep.java
); } abstract protected ImmutableSortedMap<String, FileSystemSnapshot> captureOutputSnapshots(UnitOfWork work, WorkspaceContext context); @Nullable abstract 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 - 8.1K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/OutputFilesRepository.java
package org.gradle.internal.execution.history; import org.gradle.internal.snapshot.FileSystemSnapshot; import java.io.File; /** * A registry for files generated by the Gradle build. */ public interface OutputFilesRepository { boolean isGeneratedByGradle(File file); void recordOutputs(Iterable<? extends FileSystemSnapshot> outputSnapshots);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 975 bytes - Viewed (0)