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

Method has_trunk

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

Source from the content-addressed store, hash-verified

512 }
513
514 fn has_trunk(&self, id: TrunkId) -> Result<bool, Self::Error> {
515 Ok(self.trunks.contains_key(&id))
516 }
517
518 fn del_trunk(&mut self, id: TrunkId) -> Result<bool, Self::Error> {
519 if let Some(trunk) = self.trunks.remove(&id) {

Callers

nothing calls this directly

Calls 1

contains_keyMethod · 0.80

Tested by

no test coverage detected