Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for visitLeafElement (0.17 sec)

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

            isCurrentLevelUnfiltered.addLast(true);
            delegate.enterDirectory(accessType, absolutePath, name, emptyDirectoryHandlingStrategy);
        }
    
        @Override
        public void visitLeafElement(FileSystemLeafSnapshot snapshot) {
            delegate.visitLeafElement(snapshot);
        }
    
        @Override
        public void visitDirectory(DirectorySnapshot directorySnapshot) {
            delegate.visitDirectory(directorySnapshot);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/DirectorySnapshotBuilder.java

         */
        void enterDirectory(FileMetadata.AccessType accessType, String absolutePath, String name, EmptyDirectoryHandlingStrategy emptyDirectoryHandlingStrategy);
    
        void visitLeafElement(FileSystemLeafSnapshot snapshot);
    
        void visitDirectory(DirectorySnapshot directorySnapshot);
    
        /**
         * Method to call after having visited all the entries of a directory.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/testFixtures/groovy/org/gradle/internal/snapshot/TestSnapshotFixture.groovy

            )
            children.each { snapshot ->
                if (snapshot instanceof DirectorySnapshot) {
                    builder.visitDirectory(snapshot)
                } else {
                    builder.visitLeafElement(snapshot)
                }
            }
            return builder.leaveDirectory()
        }
    
        FileSystemLocationSnapshot regularFile(String absolutePath, FileMetadata.AccessType accessType = DIRECT) {
    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/execution/src/test/groovy/org/gradle/internal/execution/steps/OverlappingOutputsFilterTest.groovy

            def builder = MerkleDirectorySnapshotBuilder.sortingRequired()
            builder.enterDirectory(FileMetadata.AccessType.DIRECT, "/absolute", "absolute", INCLUDE_EMPTY_DIRS)
            contents.each {
                builder.visitLeafElement(it)
            }
            builder.leaveDirectory()
            return builder.result
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:30 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/FileSystemSnapshotFilter.java

                    }
                });
                if (forceInclude || predicate.test(snapshot, relativePathForFiltering)) {
                    if (snapshot instanceof FileSystemLeafSnapshot) {
                        builder.visitLeafElement((FileSystemLeafSnapshot) snapshot);
                    }
                    result = SnapshotVisitResult.CONTINUE;
                } else {
                    hasBeenFiltered.set(true);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/MerkleDirectorySnapshotBuilder.java

            directoryStack.addLast(new Directory(accessType, absolutePath, name, emptyDirectoryHandlingStrategy));
        }
    
        @Override
        public void visitLeafElement(FileSystemLeafSnapshot snapshot) {
            collectEntry(snapshot);
        }
    
        @Override
        public void visitDirectory(DirectorySnapshot directorySnapshot) {
            collectEntry(directorySnapshot);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/OutputSnapshotUtil.java

                    newRootsBuilder.add(snapshot);
                } else {
                    if (snapshot instanceof FileSystemLeafSnapshot) {
                        directorySnapshotBuilder.visitLeafElement((FileSystemLeafSnapshot) snapshot);
                    }
                }
            }
    
            @Override
            public void leaveDirectory(DirectorySnapshot directorySnapshot, boolean isRoot) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/DirectorySnapshotter.java

                String internedName = intern(file.getFileName().toString());
                if (shouldVisitFile(file, internedName)) {
                    builder.visitLeafElement(snapshotFile(file, internedName, targetAttributes, accessType));
                }
            }
    
            private boolean shouldVisitDirectory(Path dir, String internedName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  9. platforms/core-execution/build-cache-packaging/src/main/java/org/gradle/caching/internal/packaging/impl/TarBuildCacheEntryPacker.java

                } else {
                    RegularFileSnapshot fileSnapshot = unpackFile(input, entry, file, parser.getName());
                    builder.visitLeafElement(fileSnapshot);
                }
            }
    
            parser.exitToRoot(builder::leaveDirectory);
            builder.leaveDirectory();
    
            snapshots.put(treeName, builder.getResult());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:19 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top