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

Method with_inode

atomic-core/src/apply/workspace.rs:214–219  ·  view source on GitHub ↗

Create a zombie with an associated inode.

(node: GraphNode<NodeId>, inode: Inode)

Source from the content-addressed store, hash-verified

212
213 /// Create a zombie with an associated inode.
214 pub fn with_inode(node: GraphNode<NodeId>, inode: Inode) -> Self {
215 Self {
216 node,
217 inode: Some(inode),
218 }
219 }
220}
221
222/// Workspace for holding temporary state during change application.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected