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

Method del_conflicts

atomic-core/src/pristine/txn/write/mod.rs:1745–1750  ·  view source on GitHub ↗
(&mut self, view_id: u64, inode: u64)

Source from the content-addressed store, hash-verified

1743 }
1744
1745 fn del_conflicts(&mut self, view_id: u64, inode: u64) -> PristineResult<()> {
1746 let mut table = self.txn.open_table(CONFLICTS)?;
1747 let key = encode_view_seq(view_id, inode);
1748 table.remove(&key)?;
1749 Ok(())
1750 }
1751
1752 fn del_conflicts_prefix(&mut self, view_id: u64) -> PristineResult<()> {
1753 // Collect the keys in range first to avoid iterating while removing.

Calls 2

encode_view_seqFunction · 0.85
removeMethod · 0.65