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

Method del_conflicts

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

Source from the content-addressed store, hash-verified

1369 }
1370
1371 fn del_conflicts(&mut self, view_id: u64, inode: u64) -> PristineResult<()> {
1372 let mut table = self.txn.open_table(CONFLICTS)?;
1373 let key = encode_view_seq(view_id, inode);
1374 table.remove(&key)?;
1375 Ok(())
1376 }
1377
1378 fn del_conflicts_prefix(&mut self, view_id: u64) -> PristineResult<()> {
1379 // Collect the keys in range first to avoid iterating while removing.

Callers 2

recordMethod · 0.80

Calls 2

encode_view_seqFunction · 0.85
removeMethod · 0.65

Tested by

no test coverage detected