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

Method get_crdt_inode_trunk

atomic-core/src/pristine/txn/read.rs:1163–1168  ·  view source on GitHub ↗
(&self, inode: u64)

Source from the content-addressed store, hash-verified

1161 }
1162
1163 fn get_crdt_inode_trunk(&self, inode: u64) -> PristineResult<Option<[u8; 12]>> {
1164 use crate::crdt::tables::INODE_TRUNK;
1165 let table = crdt_table_opt!(self, INODE_TRUNK);
1166 let result = table.get(inode)?.map(|v| *v.value());
1167 Ok(result)
1168 }
1169
1170 fn get_crdt_branch(
1171 &self,

Callers 3

recordMethod · 0.45

Calls 1

getMethod · 0.65

Tested by 2