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

Method put_crdt_leaf

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

Source from the content-addressed store, hash-verified

2209 }
2210
2211 fn put_crdt_leaf(&mut self, key: &[u8; 12], value: &[u8; 22]) -> PristineResult<()> {
2212 let mut table = self.txn.open_table(LEAVES)?;
2213 table.insert(key, value)?;
2214 Ok(())
2215 }
2216
2217 fn put_crdt_branch_leaf(
2218 &mut self,

Calls 1

insertMethod · 0.45