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

Method deleted_by

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

Create a zombie conflict with the deleting change.

(node: GraphNode<NodeId>, change: NodeId)

Source from the content-addressed store, hash-verified

118
119 /// Create a zombie conflict with the deleting change.
120 pub fn deleted_by(node: GraphNode<NodeId>, change: NodeId) -> Self {
121 Self {
122 node,
123 deleted_by: vec![change],
124 connected_by: Vec::new(),
125 inode: None,
126 }
127 }
128
129 /// Add a change that deleted this span.
130 pub fn add_deleted_by(&mut self, change: NodeId) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected