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

Method has_branch

atomic-core/tests/crdt_integration_test.rs:152–154  ·  view source on GitHub ↗
(&self, id: BranchId)

Source from the content-addressed store, hash-verified

150 }
151
152 fn has_branch(&self, id: BranchId) -> Result<bool, Self::Error> {
153 Ok(self.branches.contains_key(&id))
154 }
155
156 fn del_branch(&mut self, id: BranchId) -> Result<bool, Self::Error> {
157 if let Some(branch) = self.branches.remove(&id) {

Callers

nothing calls this directly

Calls 1

contains_keyMethod · 0.80

Tested by

no test coverage detected