- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for FileSystemSnapshotHierarchyVisitor (0.7 sec)
-
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/FileSystemSnapshotHierarchyVisitor.java
* limitations under the License. */ package org.gradle.internal.snapshot; /** * Visitor for {@link FileSystemSnapshot}. */ public interface FileSystemSnapshotHierarchyVisitor { /** * Called before visiting the contents of a directory. */ default void enterDirectory(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) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/FileSystemSnapshot.java
@Override public Stream<FileSystemLocationSnapshot> roots() { return Stream.empty(); } @Override public SnapshotVisitResult accept(FileSystemSnapshotHierarchyVisitor visitor) { return SnapshotVisitResult.CONTINUE; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:32 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/FileSystemSnapshotFilterTest.groovy
import org.gradle.internal.snapshot.DirectorySnapshot import org.gradle.internal.snapshot.FileSystemLocationSnapshot import org.gradle.internal.snapshot.FileSystemSnapshot import org.gradle.internal.snapshot.FileSystemSnapshotHierarchyVisitor import org.gradle.internal.snapshot.RegularFileSnapshot import org.gradle.internal.snapshot.SnapshotVisitResult import org.gradle.internal.snapshot.SnapshottingFilter import org.gradle.internal.vfs.FileSystemAccess
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 5.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/BaseFilePropertyVisitState.java
import org.gradle.internal.hash.HashCode; import org.gradle.internal.snapshot.DirectorySnapshot; import org.gradle.internal.snapshot.FileSystemLocationSnapshot; import org.gradle.internal.snapshot.FileSystemSnapshotHierarchyVisitor; import org.gradle.internal.snapshot.SnapshotVisitResult; import org.gradle.operations.execution.FilePropertyVisitor; import java.util.ArrayDeque; import java.util.Deque; import java.util.Map;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 07 15:16:07 UTC 2023 - 6.7K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/FileSystemLeafSnapshot.java
*/ public interface FileSystemLeafSnapshot extends FileSystemLocationSnapshot { @Override default SnapshotVisitResult accept(FileSystemSnapshotHierarchyVisitor visitor) { return visitor.visitEntry(this); } @Override default SnapshotVisitResult accept(RelativePathTracker pathTracker, RelativePathTrackingFileSystemSnapshotHierarchyVisitor visitor) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/RootTrackingFileSystemSnapshotHierarchyVisitor.java
* limitations under the License. */ package org.gradle.internal.snapshot; public abstract class RootTrackingFileSystemSnapshotHierarchyVisitor implements FileSystemSnapshotHierarchyVisitor { private int treeDepth; /** * Called before visiting the contents of a directory. */ public void enterDirectory(DirectorySnapshot directorySnapshot, boolean isRoot) {}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/CompositeFileSystemSnapshot.java
public Stream<FileSystemLocationSnapshot> roots() { return snapshots.stream() .flatMap(FileSystemSnapshot::roots); } @Override public SnapshotVisitResult accept(FileSystemSnapshotHierarchyVisitor visitor) { for (FileSystemSnapshot snapshot : snapshots) { SnapshotVisitResult result = snapshot.accept(visitor); if (result == SnapshotVisitResult.TERMINATE) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/WatchableHierarchies.java
import org.gradle.internal.file.FileHierarchySet; import org.gradle.internal.file.FileMetadata; import org.gradle.internal.snapshot.FileSystemLocationSnapshot; import org.gradle.internal.snapshot.FileSystemSnapshotHierarchyVisitor; import org.gradle.internal.snapshot.SnapshotHierarchy; import org.gradle.internal.snapshot.SnapshotVisitResult; import org.gradle.internal.watch.registry.FileWatcherProbeRegistry;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 25 17:02:39 UTC 2024 - 15.8K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/DirectorySnapshot.java
@Override public boolean isContentUpToDate(FileSystemLocationSnapshot other) { return other instanceof DirectorySnapshot; } @Override public SnapshotVisitResult accept(FileSystemSnapshotHierarchyVisitor visitor) { SnapshotVisitResult result = visitor.visitEntry(this); switch (result) { case CONTINUE: visitor.enterDirectory(this); children.stream()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 13:19:32 UTC 2023 - 9.2K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesDuringTheBuildFileSystemWatchingIntegrationTest.groovy
def vfs = parameters.vfsService.get() int filesInVfs = 0 vfs.root.rootSnapshots().forEach { snapshot -> snapshot.accept(new FileSystemSnapshotHierarchyVisitor() { @Override SnapshotVisitResult visitEntry(FileSystemLocationSnapshot fileSnapshot) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 13:50:33 UTC 2024 - 8K bytes - Viewed (0)