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

Method put_crdt_inode_trunk

atomic-core/src/pristine/txn/write/mod.rs:1674–1678  ·  view source on GitHub ↗
(&mut self, inode: u64, trunk_key: &[u8; 12])

Source from the content-addressed store, hash-verified

1672 }
1673
1674 fn put_crdt_inode_trunk(&mut self, inode: u64, trunk_key: &[u8; 12]) -> PristineResult<()> {
1675 let mut table = self.txn.open_table(INODE_TRUNK)?;
1676 table.insert(inode, trunk_key)?;
1677 Ok(())
1678 }
1679
1680 fn put_crdt_path_trunk(&mut self, path: &str, trunk_key: &[u8; 12]) -> PristineResult<()> {
1681 let mut table = self.txn.open_table(PATH_TRUNK)?;

Callers 1

put_trunkFunction · 0.80

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected