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

Method new

atomic-core/src/apply/conflict.rs:110–117  ·  view source on GitHub ↗

Create a new zombie conflict. # Arguments `span` - The zombie span

(node: GraphNode<NodeId>)

Source from the content-addressed store, hash-verified

108 ///
109 /// * `span` - The zombie span
110 pub fn new(node: GraphNode<NodeId>) -> Self {
111 Self {
112 node,
113 deleted_by: Vec::new(),
114 connected_by: Vec::new(),
115 inode: None,
116 }
117 }
118
119 /// Create a zombie conflict with the deleting change.
120 pub fn deleted_by(node: GraphNode<NodeId>, change: NodeId) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected