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

Method add_deleted_by

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

Add a change that deleted this span.

(&mut self, change: NodeId)

Source from the content-addressed store, hash-verified

128
129 /// Add a change that deleted this span.
130 pub fn add_deleted_by(&mut self, change: NodeId) {
131 if !self.deleted_by.contains(&change) {
132 self.deleted_by.push(change);
133 }
134 }
135
136 /// Add a change that connected to this span.
137 pub fn add_connected_by(&mut self, change: NodeId) {

Calls 2

containsMethod · 0.45
pushMethod · 0.45