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

Method has_trunk

atomic-core/tests/crdt_integration_test.rs:88–90  ·  view source on GitHub ↗
(&self, id: TrunkId)

Source from the content-addressed store, hash-verified

86 }
87
88 fn has_trunk(&self, id: TrunkId) -> Result<bool, Self::Error> {
89 Ok(self.trunks.contains_key(&id))
90 }
91
92 fn del_trunk(&mut self, id: TrunkId) -> Result<bool, Self::Error> {
93 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