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

Method get_trunk

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

Source from the content-addressed store, hash-verified

82 }
83
84 fn get_trunk(&self, id: TrunkId) -> Result<Option<Trunk>, Self::Error> {
85 Ok(self.trunks.get(&id).cloned())
86 }
87
88 fn has_trunk(&self, id: TrunkId) -> Result<bool, Self::Error> {
89 Ok(self.trunks.contains_key(&id))

Callers 3

test_apply_file_deletionFunction · 0.45
test_apply_file_moveFunction · 0.45
test_inode_allocationFunction · 0.45

Calls 1

getMethod · 0.65

Tested by

no test coverage detected