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

Method has_leaf

atomic-core/src/crdt/apply/traits.rs:626–628  ·  view source on GitHub ↗
(&self, id: LeafId)

Source from the content-addressed store, hash-verified

624 }
625
626 fn has_leaf(&self, id: LeafId) -> Result<bool, Self::Error> {
627 Ok(self.leaves.contains_key(&id))
628 }
629
630 fn del_leaf(&mut self, id: LeafId) -> Result<bool, Self::Error> {
631 if let Some(leaf) = self.leaves.remove(&id) {

Callers

nothing calls this directly

Calls 1

contains_keyMethod · 0.80

Tested by

no test coverage detected