- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for hasDescendantsUnder (0.21 sec)
-
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/DefaultSnapshotHierarchyTest.groovy
!s.hasDescendantsUnder(sibling.absolutePath) collectSnapshots(s, sibling.absolutePath).empty def intermediate = dir1.file("dir5/and") s.hasDescendantsUnder(intermediate.absolutePath) collectSnapshots(s, intermediate.absolutePath)*.absolutePath == [dir1dir5.absolutePath] def anotherSibling = dir1.file("dir5/and/different") !s.hasDescendantsUnder(anotherSibling.absolutePath)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:32 UTC 2023 - 32.4K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultSnapshotHierarchy.java
if (relativePath.isEmpty()) { return rootNode.getSnapshot(); } return rootNode.getSnapshot(relativePath, caseSensitivity); } @Override public boolean hasDescendantsUnder(String absolutePath) { return getNode(absolutePath).map(FileSystemNode::hasDescendants) .orElse(false); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 6.6K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/SnapshotHierarchy.java
return findMetadata(absolutePath) .filter(FileSystemLocationSnapshot.class::isInstance) .map(FileSystemLocationSnapshot.class::cast); } boolean hasDescendantsUnder(String absolutePath); /** * Returns a hierarchy augmented by the information of the snapshot at the absolute path. */ @CheckReturnValue
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 4K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/HierarchicalFileWatcherUpdater.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 25 15:08:33 UTC 2024 - 6.9K bytes - Viewed (0)