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

Method delete

atomic-core/src/crdt/leaf.rs:241–243  ·  view source on GitHub ↗

Marks the leaf as deleted.

(&mut self)

Source from the content-addressed store, hash-verified

239
240 /// Marks the leaf as deleted.
241 pub fn delete(&mut self) {
242 self.state = LeafState::Deleted;
243 }
244
245 /// Restores a deleted leaf to alive.
246 pub fn restore(&mut self) {

Callers 2

Calls

no outgoing calls

Tested by 2