Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for PathVisitor (0.24 sec)

  1. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/PathVisitor.java

    import java.nio.file.Path;
    import java.nio.file.attribute.BasicFileAttributes;
    import java.util.ArrayDeque;
    import java.util.Deque;
    import java.util.concurrent.atomic.AtomicBoolean;
    
    class PathVisitor implements java.nio.file.FileVisitor<Path> {
        private final Deque<FileVisitDetails> directoryDetailsHolder = new ArrayDeque<>();
        private final Spec<? super FileTreeElement> spec;
        private final boolean postfix;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/ReproducibleDirectoryWalker.java

            try {
                PathVisitor pathVisitor = new PathVisitor(spec, postfix, visitor, stopFlag, rootPath, fileSystem);
                visit(rootDir, pathVisitor);
            } catch (IOException e) {
                throw new GradleException(String.format("Could not list contents of directory '%s'.", rootDir), e);
            }
        }
    
        private static FileVisitResult visit(Path path, PathVisitor pathVisitor) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultDirectoryWalker.java

            try {
                PathVisitor pathVisitor = new PathVisitor(spec, postfix, visitor, stopFlag, rootPath, fileSystem);
                Files.walkFileTree(rootDir, EnumSet.of(FileVisitOption.FOLLOW_LINKS), Integer.MAX_VALUE, pathVisitor);
            } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/DirectorySnapshotter.java

        ) {
            try {
                AtomicBoolean hasBeenFiltered = new AtomicBoolean();
                Path rootPath = Paths.get(absolutePath);
                PathVisitor visitor = new PathVisitor(predicate, hasBeenFiltered, hasher, stringInterner, defaultExcludes, collector, EMPTY_SYMBOLIC_LINK_MAPPING, previouslyKnownSnapshots, unfilteredSnapshotRecorder);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 24.4K bytes
    - Viewed (0)
Back to top