MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / min_for_inode

Method min_for_inode

atomic-core/tests/inode_graph_test.rs:55–60  ·  view source on GitHub ↗

Create the minimum possible InodeVertex for a given inode. Used for range queries to find all vertices in a file.

(inode: Inode)

Source from the content-addressed store, hash-verified

53 /// Create the minimum possible InodeVertex for a given inode.
54 /// Used for range queries to find all vertices in a file.
55 pub fn min_for_inode(inode: Inode) -> Self {
56 Self {
57 inode,
58 span: GraphNode::ROOT,
59 }
60 }
61
62 /// Create the maximum possible InodeVertex for a given inode.
63 /// Used for range queries to find all vertices in a file.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected