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

Method delete

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

Marks the trunk as deleted.

(&mut self)

Source from the content-addressed store, hash-verified

241
242 /// Marks the trunk as deleted.
243 pub fn delete(&mut self) {
244 self.state = TrunkState::Deleted;
245 }
246
247 /// Restores a deleted trunk to alive.
248 pub fn undelete(&mut self) {

Callers 1

Calls

no outgoing calls

Tested by 1