- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for UnknownFileSystemNode (0.34 sec)
-
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/UnknownFileSystemNode.java
* * The snapshot must have children. * It is created when we store missing files underneath it, so that we don’t have to query them again and again. */ public class UnknownFileSystemNode extends AbstractIncompleteFileSystemNode { public UnknownFileSystemNode(ChildMap<? extends FileSystemNode> children) { super(children); assert !children.isEmpty(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/UnknownFileSystemNodeTest.groovy
class UnknownFileSystemNodeTest extends AbstractIncompleteFileSystemNodeTest<UnknownFileSystemNode> { @Override protected UnknownFileSystemNode createInitialRootNode(ChildMap<FileSystemNode> children) { return new UnknownFileSystemNode(children) } @Override protected boolean isSameNodeType(FileSystemNode node) { return node instanceof UnknownFileSystemNode } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 4.2K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultSnapshotHierarchy.java
import org.gradle.internal.snapshot.PartialDirectoryNode; import org.gradle.internal.snapshot.SingletonChildMap; import org.gradle.internal.snapshot.SnapshotHierarchy; import org.gradle.internal.snapshot.UnknownFileSystemNode; import org.gradle.internal.snapshot.VfsRelativePath; import java.util.Optional; import java.util.stream.Stream; public class DefaultSnapshotHierarchy implements SnapshotHierarchy {
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/AbstractIncompleteFileSystemNode.java
boolean isDirectory = anyChildMatches(children, node -> node.getSnapshot().map(this::isRegularFileOrDirectory).orElse(false)); return isDirectory ? new PartialDirectoryNode(children) : new UnknownFileSystemNode(children); } private boolean isRegularFileOrDirectory(MetadataSnapshot metadataSnapshot) { return metadataSnapshot.getType() != FileType.Missing; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 6.5K bytes - Viewed (0)