Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for FileSystemSnapshot (2.22 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/FileSystemSnapshot.java

     */
    
    package org.gradle.internal.snapshot;
    
    import java.util.stream.Stream;
    
    /**
     * A snapshot of a part of the file system.
     */
    public interface FileSystemSnapshot {
        /**
         * An empty snapshot.
         */
        FileSystemSnapshot EMPTY = new FileSystemSnapshot() {
            @Override
            public Stream<FileSystemLocationSnapshot> roots() {
                return Stream.empty();
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/CompositeFileSystemSnapshot.java

    public class CompositeFileSystemSnapshot implements FileSystemSnapshot {
        private final ImmutableList<FileSystemSnapshot> snapshots;
    
        private CompositeFileSystemSnapshot(Collection<? extends FileSystemSnapshot> snapshots) {
            this.snapshots = ImmutableList.copyOf(snapshots);
        }
    
        public static FileSystemSnapshot of(List<? extends FileSystemSnapshot> snapshots) {
            switch (snapshots.size()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultPreviousExecutionStateSerializer.java

                FileSystemSnapshot snapshot = fileSystemSnapshotSerializer.read(decoder);
                builder.put(property, snapshot);
            }
            return builder.build();
        }
    
        private void writeSnapshots(Encoder encoder, ImmutableSortedMap<String, FileSystemSnapshot> snapshots) throws Exception {
            encoder.writeSmallInt(snapshots.size());
            for (Map.Entry<String, FileSystemSnapshot> entry : snapshots.entrySet()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 08:25:58 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/OutputSnapshotUtil.java

         * </ul>
         */
        public static ImmutableSortedMap<String, FileSystemSnapshot> filterOutputsAfterExecution(
            ImmutableSortedMap<String, FileSystemSnapshot> previousSnapshots,
            ImmutableSortedMap<String, FileSystemSnapshot> unfilteredBeforeExecutionSnapshots,
            ImmutableSortedMap<String, FileSystemSnapshot> unfilteredAfterExecutionSnapshots
        ) {
            return copyOfSorted(transformEntries(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/OutputFileChanges.java

    public class OutputFileChanges implements ChangeContainer {
    
        private final SortedMap<String, FileSystemSnapshot> previous;
        private final SortedMap<String, FileSystemSnapshot> current;
    
        public OutputFileChanges(SortedMap<String, FileSystemSnapshot> previous, SortedMap<String, FileSystemSnapshot> current) {
            this.previous = previous;
            this.current = current;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/CaptureNonIncrementalStateBeforeExecutionStep.java

        ) {
            super(buildOperationRunner, classLoaderHierarchyHasher, delegate);
        }
    
        @Override
        protected ImmutableSortedMap<String, FileSystemSnapshot> captureOutputSnapshots(UnitOfWork work, WorkspaceContext context) {
            ImmutableSortedMap.Builder<String, FileSystemSnapshot> builder = ImmutableSortedMap.naturalOrder();
            work.visitOutputs(context.getWorkspace(), new UnitOfWork.OutputVisitor() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultBeforeExecutionState.java

    import org.gradle.internal.execution.history.OverlappingOutputs;
    import org.gradle.internal.fingerprint.CurrentFileCollectionFingerprint;
    import org.gradle.internal.snapshot.FileSystemSnapshot;
    import org.gradle.internal.snapshot.ValueSnapshot;
    import org.gradle.internal.snapshot.impl.ImplementationSnapshot;
    
    import javax.annotation.Nullable;
    import java.util.Optional;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/OverlappingOutputsFilterTest.groovy

            def previousOutputs = ImmutableSortedMap.<String, FileSystemSnapshot> of(
                "outputDir", emptyDirectory
            )
            def outputsBeforeExecution = ImmutableSortedMap.<String, FileSystemSnapshot> of(
                "outputDir", directoryWithStaleFile
            )
            def outputsAfterExecution = ImmutableSortedMap.<String, FileSystemSnapshot> of(
                "outputDir", directoryWithStaleFileAndOutput
            )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:30 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/OutputFileChangesTest.groovy

    import org.gradle.internal.snapshot.FileSystemSnapshot
    import org.gradle.internal.snapshot.TestSnapshotFixture
    import spock.lang.Specification
    
    class OutputFileChangesTest extends Specification implements TestSnapshotFixture {
    
        def "empties"() {
            expect:
            changes(
                FileSystemSnapshot.EMPTY,
                FileSystemSnapshot.EMPTY
            ) == []
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/AfterExecutionOutputFilter.java

    import org.gradle.internal.execution.history.BeforeExecutionState;
    import org.gradle.internal.snapshot.FileSystemSnapshot;
    
    public interface AfterExecutionOutputFilter<C extends WorkspaceContext> {
        ImmutableSortedMap<String, FileSystemSnapshot> filterOutputs(C context, BeforeExecutionState beforeExecutionState, ImmutableSortedMap<String, FileSystemSnapshot> outputSnapshotsAfterExecution);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 09:40:08 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top