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

Method restore

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

Restores a deleted leaf to alive.

(&mut self)

Source from the content-addressed store, hash-verified

244
245 /// Restores a deleted leaf to alive.
246 pub fn restore(&mut self) {
247 self.state = LeafState::Alive;
248 }
249}
250
251impl fmt::Display for Leaf {

Callers 2

Calls

no outgoing calls

Tested by 2