- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for asFileSystemNode (0.39 sec)
-
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/MetadataSnapshot.java
return FileType.Directory; } @Override public FileSystemNode asFileSystemNode() { return PartialDirectoryNode.withoutKnownChildren(); } }; /** * The type of the file. */ FileType getType(); FileSystemNode asFileSystemNode();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractIncompleteFileSystemNodeTest.groovy
) newChild.snapshot.get().type == FileType.Directory addedNodes == [newGrandChild] removedNodes.empty 1 * snapshot.asFileSystemNode() >> newGrandChild _ * newGrandChild.snapshot >> Optional.of(snapshot) _ * selectedChild.snapshot >> Optional.empty() 1 * snapshot.type >> fileType interaction { noMoreInteractions() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 13.3K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/AbstractIncompleteFileSystemNode.java
} @Override public FileSystemNode handleAsAncestorOfChild(String childPath, FileSystemNode child) { FileSystemNode newChild = snapshot.asFileSystemNode(); diffListener.nodeRemoved(child); diffListener.nodeAdded(newChild); return newChild; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 6.5K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultSnapshotHierarchy.java
VfsRelativePath relativePath = VfsRelativePath.of(absolutePath); if (relativePath.isEmpty()) { return new DefaultSnapshotHierarchy(snapshot.asFileSystemNode(), caseSensitivity); } return new DefaultSnapshotHierarchy( rootNode.store(relativePath, caseSensitivity, snapshot, diffListener), caseSensitivity ); }
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/AbstractFileSystemLocationSnapshot.java
return Stream.of(this); } @Override public boolean hasDescendants() { return true; } @Override public FileSystemNode asFileSystemNode() { return this; } @Override public Optional<MetadataSnapshot> getSnapshot() { return Optional.of(this); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 13:19:32 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/DirectoryNodeTest.groovy
return new DirectorySnapshot("/root/some/path", PathUtil.getFileName("path"), AccessType.DIRECT, TestHashCodes.hashCodeFrom(1234), children).asFileSystemNode() } @Override protected FileSystemLocationSnapshot mockChild() { Mock(FileSystemLocationSnapshot) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 9.2K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/DefaultSnapshotHierarchyTest.groovy
when: def newHierarchy = hierarchy.store("/", snapshot, SnapshotHierarchy.NodeDiffListener.NOOP) then: 1 * snapshot.asFileSystemNode() >> newRoot 0 * _ when: def foundSnapshot = newHierarchy.findMetadata("/") then: foundSnapshot.get() is snapshot
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:32 UTC 2023 - 32.4K bytes - Viewed (0)