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

Method put_crdt_leaf

atomic-core/src/pristine/txn/write/mod.rs:1103–1107  ·  view source on GitHub ↗
(&mut self, key: &[u8; 12], value: &[u8; 22])

Source from the content-addressed store, hash-verified

1101 }
1102
1103 fn put_crdt_leaf(&mut self, key: &[u8; 12], value: &[u8; 22]) -> PristineResult<()> {
1104 let mut table = self.txn.open_table(LEAVES)?;
1105 table.insert(key, value)?;
1106 Ok(())
1107 }
1108
1109 fn put_crdt_branch_leaf(
1110 &mut self,

Callers 3

put_leafFunction · 0.80
update_leaf_stateFunction · 0.80
update_leaf_contentFunction · 0.80

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected