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

Method delete

atomic-core/src/crdt/branch.rs:209–211  ·  view source on GitHub ↗

Marks the branch as deleted.

(&mut self)

Source from the content-addressed store, hash-verified

207
208 /// Marks the branch as deleted.
209 pub fn delete(&mut self) {
210 self.state = BranchState::Deleted;
211 }
212
213 /// Restores a deleted branch to alive.
214 pub fn restore(&mut self) {

Callers 1

Calls

no outgoing calls

Tested by 1