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

Method undelete

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

Restores a deleted trunk to alive.

(&mut self)

Source from the content-addressed store, hash-verified

246
247 /// Restores a deleted trunk to alive.
248 pub fn undelete(&mut self) {
249 self.state = TrunkState::Alive;
250 }
251}
252
253impl fmt::Display for Trunk {

Callers 1

Calls

no outgoing calls

Tested by 1