Method
put_crdt_inode_trunk
(&mut self, inode: u64, trunk_key: &[u8; 12])
Source from the content-addressed store, hash-verified
| 1578 | } |
| 1579 | |
| 1580 | fn put_crdt_inode_trunk(&mut self, inode: u64, trunk_key: &[u8; 12]) -> PristineResult<()> { |
| 1581 | let mut table = self.txn.open_table(INODE_TRUNK)?; |
| 1582 | table.insert(inode, trunk_key)?; |
| 1583 | Ok(()) |
| 1584 | } |
| 1585 | |
| 1586 | fn put_crdt_path_trunk(&mut self, path: &str, trunk_key: &[u8; 12]) -> PristineResult<()> { |
| 1587 | let mut table = self.txn.open_table(PATH_TRUNK)?; |
Tested by
no test coverage detected