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

Method has_leaf

atomic-core/tests/crdt_integration_test.rs:212–214  ·  view source on GitHub ↗
(&self, id: LeafId)

Source from the content-addressed store, hash-verified

210 }
211
212 fn has_leaf(&self, id: LeafId) -> Result<bool, Self::Error> {
213 Ok(self.leaves.contains_key(&id))
214 }
215
216 fn del_leaf(&mut self, id: LeafId) -> Result<bool, Self::Error> {
217 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