Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for FileSystemNode (0.21 sec)

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

        Optional<FileSystemNode> getNode(VfsRelativePath relativePath, CaseSensitivity caseSensitivity);
    
        /**
         * Stores information to the virtual file system that we have learned about.
         *
         * Complete information, like {@link FileSystemLocationSnapshot}s, are not touched nor replaced.
         */
        @CheckReturnValue
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/PartialDirectoryNode.java

        }
    
        public PartialDirectoryNode(ChildMap<? extends FileSystemNode> children) {
            super(children);
        }
    
        @Override
        protected FileSystemNode withIncompleteChildren(ChildMap<? extends FileSystemNode> newChildren) {
            return new PartialDirectoryNode(newChildren);
        }
    
        @Override
        protected Optional<FileSystemNode> withAllChildrenRemoved() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/AbstractIncompleteFileSystemNode.java

    public abstract class AbstractIncompleteFileSystemNode implements FileSystemNode {
        protected final ChildMap<FileSystemNode> children;
    
        @SuppressWarnings("unchecked")
        public AbstractIncompleteFileSystemNode(ChildMap<? extends FileSystemNode> children) {
            this.children = (ChildMap<FileSystemNode>) children;
        }
    
        @Override
        public Optional<FileSystemNode> getNode(VfsRelativePath targetPath, CaseSensitivity caseSensitivity) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/UnknownFileSystemNode.java

        public UnknownFileSystemNode(ChildMap<? extends FileSystemNode> children) {
            super(children);
            assert !children.isEmpty();
        }
    
        @Override
        public Optional<MetadataSnapshot> getSnapshot() {
            return Optional.empty();
        }
    
        @Override
        protected FileSystemNode withIncompleteChildren(ChildMap<? extends FileSystemNode> merged) {
            return new UnknownFileSystemNode(merged);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/SnapshotHierarchy.java

         */
        interface NodeDiffListener {
            NodeDiffListener NOOP = new NodeDiffListener() {
                @Override
                public void nodeRemoved(FileSystemNode node) {
                }
    
                @Override
                public void nodeAdded(FileSystemNode node) {
                }
            };
    
            /**
             * Called when a node is removed during the update.
             *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractFileSystemNodeWithChildrenTest.groovy

    abstract class AbstractFileSystemNodeWithChildrenTest<NODE extends FileSystemNode, CHILD extends FileSystemNode> extends Specification {
        NODE initialRoot
        ChildMap<CHILD> children
        VfsRelativePath searchedPath
    
        List<FileSystemNode> removedNodes = []
        List<FileSystemNode> addedNodes = []
    
        SnapshotHierarchy.NodeDiffListener diffListener = new SnapshotHierarchy.NodeDiffListener() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultSnapshotHierarchy.java

        private final CaseSensitivity caseSensitivity;
        @VisibleForTesting
        final FileSystemNode rootNode;
    
        public static SnapshotHierarchy from(FileSystemNode rootNode, CaseSensitivity caseSensitivity) {
            return new DefaultSnapshotHierarchy(rootNode, caseSensitivity);
        }
    
        private DefaultSnapshotHierarchy(FileSystemNode rootNode, CaseSensitivity caseSensitivity) {
            this.caseSensitivity = caseSensitivity;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/SnapshotUtil.java

                }
            });
        }
    
        public static <T extends FileSystemNode> Optional<FileSystemNode> getChild(ChildMap<T> children, VfsRelativePath targetPath, CaseSensitivity caseSensitivity) {
            return children.withNode(targetPath, caseSensitivity, new ChildMap.NodeHandler<T, Optional<FileSystemNode>>() {
                @Override
                public Optional<FileSystemNode> handleAsDescendantOfChild(VfsRelativePath pathInChild, T child) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractFileSystemLeafSnapshotTest.groovy

        List<FileSystemNode> removedSnapshots = []
        List<FileSystemNode> addedSnapshots = []
    
        SnapshotHierarchy.NodeDiffListener changeListener = new SnapshotHierarchy.NodeDiffListener() {
            @Override
            void nodeRemoved(FileSystemNode node) {
                removedSnapshots.add(node)
            }
    
            @Override
            void nodeAdded(FileSystemNode node) {
                addedSnapshots.add(node)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractIncompleteFileSystemNodeTest.groovy

            vfsSpec << CHILD_IS_PREFIX
        }
    
        static ChildMap<FileSystemNode> sortedChildren(String path1, FileSystemNode child1, String path2, FileSystemNode child2) {
            def compared = PathUtil.getPathComparator(CASE_SENSITIVE).compare(path1, path2)
            def entry1 = new ChildMap.Entry<FileSystemNode>(path1, child1)
            def entry2 = new ChildMap.Entry<FileSystemNode>(path2, child2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 13.3K bytes
    - Viewed (0)
Back to top