Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for leaveDirectory (0.19 sec)

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

        public SnapshotVisitResult visitEntry(FileSystemLocationSnapshot snapshot) {
            return visitEntry(snapshot, treeDepth == 0);
        }
    
        @Override
        public final void leaveDirectory(DirectorySnapshot directorySnapshot) {
            treeDepth--;
            leaveDirectory(directorySnapshot, treeDepth == 0);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/FilteredTrackingMerkleDirectorySnapshotBuilder.java

        }
    
        public boolean isCurrentLevelUnfiltered() {
            return isCurrentLevelUnfiltered.getLast();
        }
    
        @Override
        public FileSystemLocationSnapshot leaveDirectory() {
            FileSystemLocationSnapshot directorySnapshot = delegate.leaveDirectory();
            boolean leftLevelUnfiltered = isCurrentLevelUnfiltered.removeLast();
            isCurrentLevelUnfiltered.addLast(isCurrentLevelUnfiltered.removeLast() && leftLevelUnfiltered);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/FileSystemSnapshotFilter.java

                    result = SnapshotVisitResult.SKIP_SUBTREE;
                }
                return result;
            }
    
            @Override
            public void leaveDirectory(DirectorySnapshot directorySnapshot, RelativePathSupplier relativePath) {
                builder.leaveDirectory();
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/RelativePathTrackingFileSystemSnapshotHierarchyVisitor.java

         */
        SnapshotVisitResult visitEntry(FileSystemLocationSnapshot snapshot, RelativePathSupplier relativePath);
    
        /**
         * Called after all entries in the directory has been visited.
         */
        default void leaveDirectory(DirectorySnapshot directorySnapshot, RelativePathSupplier relativePath) {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/DirectorySnapshot.java

                    visitor.enterDirectory(this);
                    children.stream()
                        .map(ChildMap.Entry::getValue)
                        .forEach(child -> child.accept(visitor));
                    visitor.leaveDirectory(this);
                    return CONTINUE;
                case SKIP_SUBTREE:
                    return CONTINUE;
                case TERMINATE:
                    return SnapshotVisitResult.TERMINATE;
                default:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/FileSystemSnapshotHierarchyVisitor.java

         */
        SnapshotVisitResult visitEntry(FileSystemLocationSnapshot snapshot);
    
        /**
         * Called after all entries in the directory has been visited.
         */
        default void leaveDirectory(DirectorySnapshot directorySnapshot) {}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/OutputSnapshotUtil.java

                    }
                }
            }
    
            @Override
            public void leaveDirectory(DirectorySnapshot directorySnapshot, boolean isRoot) {
                boolean excludedDir = directorySnapshotBuilder.leaveDirectory() == null;
                if (excludedDir) {
                    currentRootFiltered = true;
                    hasBeenFiltered = true;
                }
    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/DirectorySnapshotBuilder.java

         * This means that the directory will not be part of the built snapshot.
         */
        @Nullable
        FileSystemLocationSnapshot leaveDirectory();
    
        /**
         * Returns the snapshot for the root directory.
         *
         * May return null if
         * - nothing was visited, or
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/OverlappingOutputsFilterTest.groovy

            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)
  10. platforms/core-execution/snapshots/src/testFixtures/groovy/org/gradle/internal/snapshot/TestSnapshotFixture.groovy

                    builder.visitDirectory(snapshot)
                } else {
                    builder.visitLeafElement(snapshot)
                }
            }
            return builder.leaveDirectory()
        }
    
        FileSystemLocationSnapshot regularFile(String absolutePath, FileMetadata.AccessType accessType = DIRECT) {
            regularFile(absolutePath, accessType, null)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top