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

Method get_trunk_by_inode

atomic-core/src/crdt/apply/traits.rs:552–554  ·  view source on GitHub ↗
(&self, inode: Inode)

Source from the content-addressed store, hash-verified

550 }
551
552 fn get_trunk_by_inode(&self, inode: Inode) -> Result<Option<TrunkId>, Self::Error> {
553 Ok(self.inode_index.get(&inode).copied())
554 }
555
556 fn put_branch(
557 &mut self,

Callers 1

test_get_trunk_by_inodeFunction · 0.45

Calls 1

getMethod · 0.65

Tested by 1

test_get_trunk_by_inodeFunction · 0.36