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

Method has_branch

atomic-core/src/crdt/apply/leaf.rs:516–518  ·  view source on GitHub ↗
(&self, id: BranchId)

Source from the content-addressed store, hash-verified

514 }
515
516 fn has_branch(&self, id: BranchId) -> Result<bool, Self::Error> {
517 Ok(self.branches.contains_key(&id))
518 }
519
520 fn del_branch(&mut self, id: BranchId) -> Result<bool, Self::Error> {
521 if let Some(branch) = self.branches.remove(&id) {

Callers 1

apply_insertFunction · 0.45

Calls 1

contains_keyMethod · 0.80

Tested by

no test coverage detected