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

Method put_crdt_branch

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

Source from the content-addressed store, hash-verified

1075 }
1076
1077 fn put_crdt_branch(&mut self, key: &[u8; 12], value: &[u8; 24]) -> PristineResult<()> {
1078 let mut table = self.txn.open_table(BRANCHES)?;
1079 table.insert(key, value)?;
1080 Ok(())
1081 }
1082
1083 fn put_crdt_trunk_branch(
1084 &mut self,

Callers 4

put_branchFunction · 0.80
put_branchFunction · 0.80
update_branch_stateFunction · 0.80

Calls 1

insertMethod · 0.45