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

Method new

atomic-core/tests/inode_graph_test.rs:49–51  ·  view source on GitHub ↗
(inode: Inode, span: GraphNode<NodeId>)

Source from the content-addressed store, hash-verified

47
48impl InodeVertex {
49 pub fn new(inode: Inode, span: GraphNode<NodeId>) -> Self {
50 Self { inode, span }
51 }
52
53 /// Create the minimum possible InodeVertex for a given inode.
54 /// 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