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

Method has_trunk

atomic-core/src/crdt/apply/trunk.rs:400–402  ·  view source on GitHub ↗
(&self, id: TrunkId)

Source from the content-addressed store, hash-verified

398 }
399
400 fn has_trunk(&self, id: TrunkId) -> Result<bool, Self::Error> {
401 Ok(self.trunks.contains_key(&id))
402 }
403
404 fn del_trunk(&mut self, id: TrunkId) -> Result<bool, Self::Error> {
405 if let Some(trunk) = self.trunks.remove(&id) {

Callers 1

apply_createFunction · 0.45

Calls 1

contains_keyMethod · 0.80

Tested by

no test coverage detected