Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for SnapshotHierarchy (0.2 sec)

  1. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/HierarchicalFileWatcherUpdater.java

                    return hasSnapshotsToWatch;
                }
            });
        }
    
        @Override
        public SnapshotHierarchy updateVfsBeforeBuildFinished(SnapshotHierarchy root, int maximumNumberOfWatchedHierarchies, List<File> unsupportedFileSystems) {
            SnapshotHierarchy newRoot = super.updateVfsBeforeBuildFinished(root, maximumNumberOfWatchedHierarchies, unsupportedFileSystems);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 15:08:33 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/impl/DefaultFileSystemWatchingStatistics.java

    package org.gradle.internal.watch.vfs.impl;
    
    import com.google.common.collect.EnumMultiset;
    import com.google.common.collect.Multiset;
    import org.gradle.internal.file.FileType;
    import org.gradle.internal.snapshot.SnapshotHierarchy;
    import org.gradle.internal.watch.registry.FileWatcherRegistry;
    import org.gradle.internal.watch.vfs.FileSystemWatchingStatistics;
    
    import static org.gradle.internal.snapshot.SnapshotVisitResult.CONTINUE;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:38:01 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/testFixtures/groovy/org/gradle/internal/snapshot/TestSnapshotFixture.groovy

                accessType
            )
        }
    
        static SnapshotHierarchy buildHierarchy(CaseSensitivity caseSensitivity = CaseSensitivity.CASE_INSENSITIVE, List<FileSystemLocationSnapshot> snapshots) {
            SnapshotHierarchy root = DefaultSnapshotHierarchy.empty(caseSensitivity)
            snapshots.each { snapshot -> root = root.store(snapshot.absolutePath, snapshot, SnapshotHierarchy.NodeDiffListener.NOOP)}
            return root
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/SnapshotCollectingDiffListener.java

    import org.gradle.internal.snapshot.FileSystemLocationSnapshot;
    import org.gradle.internal.snapshot.FileSystemNode;
    import org.gradle.internal.snapshot.SnapshotHierarchy;
    
    import java.util.ArrayList;
    import java.util.List;
    
    public class SnapshotCollectingDiffListener implements SnapshotHierarchy.NodeDiffListener {
        private final List<FileSystemLocationSnapshot> removedSnapshots = new ArrayList<>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:38:01 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache-example-client/src/main/java/org/gradle/caching/example/ExampleBuildCacheClient.java

            protected CustomVirtualFileSystem(SnapshotHierarchy root) {
                super(root);
            }
    
            @Override
            protected SnapshotHierarchy updateNotifyingListeners(UpdateFunction updateFunction) {
                return updateFunction.update(SnapshotHierarchy.NodeDiffListener.NOOP);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 19:35:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/DefaultSnapshotHierarchyTest.groovy

        private static void assertHasNoMetadata(SnapshotHierarchy set, File location) {
            assert !set.findMetadata(location.absolutePath).present
        }
    
    
        private SnapshotHierarchy invalidate(SnapshotHierarchy set, File location) {
            set.invalidate(location.absolutePath, diffListener)
        }
    
        private SnapshotHierarchy snapshot(File... locations) {
            SnapshotHierarchy set = EMPTY
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 32.4K bytes
    - Viewed (0)
  7. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/vfs/impl/WatchingVirtualFileSystemTest.groovy

            watchingVirtualFileSystem.afterBuildStarted(WatchMode.ENABLED, VfsLogging.NORMAL, WatchLogging.NORMAL, buildOperationRunner)
            then:
            1 * watcherRegistry.updateVfsOnBuildStarted(_ as SnapshotHierarchy, WatchMode.ENABLED, []) >> { SnapshotHierarchy root, watchMode, unsupportedFileSystems -> root }
            1 * watcherRegistry.getAndResetStatistics() >> Stub(FileWatcherRegistry.FileWatchingStatistics)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/AbstractVirtualFileSystemTest.groovy

        def vfs = new AbstractVirtualFileSystem(DefaultSnapshotHierarchy.empty(CaseSensitivity.CASE_SENSITIVE)) {
            @Override
            protected SnapshotHierarchy updateNotifyingListeners(AbstractVirtualFileSystem.UpdateFunction updateFunction) {
                return updateFunction.update(SnapshotHierarchy.NodeDiffListener.NOOP)
            }
        }
    
        def "does not store snapshot when invalidation happened in between"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/FileSystemNode.java

        FileSystemNode store(VfsRelativePath targetPath, CaseSensitivity caseSensitivity, MetadataSnapshot snapshot, SnapshotHierarchy.NodeDiffListener diffListener);
    
        /**
         * Invalidates part of the node.
         */
        @CheckReturnValue
        Optional<FileSystemNode> invalidate(VfsRelativePath targetPath, CaseSensitivity caseSensitivity, SnapshotHierarchy.NodeDiffListener diffListener);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/vfs/impl/WatchingNotSupportedVirtualFileSystemTest.groovy

     */
    
    package org.gradle.internal.watch.vfs.impl
    
    import org.gradle.internal.operations.TestBuildOperationRunner
    import org.gradle.internal.snapshot.CaseSensitivity
    import org.gradle.internal.snapshot.SnapshotHierarchy
    import org.gradle.internal.vfs.impl.DefaultSnapshotHierarchy
    import org.gradle.internal.watch.registry.WatchMode
    import org.gradle.internal.watch.vfs.VfsLogging
    import org.gradle.internal.watch.vfs.WatchLogging
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top