MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / mark_deleted

Method mark_deleted

nodedb-columnar/src/delete_bitmap.rs:34–36  ·  view source on GitHub ↗

Mark a row as deleted. Returns true if the row was newly deleted.

(&mut self, row_idx: u32)

Source from the content-addressed store, hash-verified

32
33 /// Mark a row as deleted. Returns true if the row was newly deleted.
34 pub fn mark_deleted(&mut self, row_idx: u32) -> bool {
35 self.inner.insert(row_idx)
36 }
37
38 /// Mark multiple rows as deleted.
39 pub fn mark_deleted_batch(&mut self, row_indices: &[u32]) {

Callers 9

block_fully_deletedFunction · 0.45
compact_all_deletedFunction · 0.45
insertMethod · 0.45
insert_with_surrogateMethod · 0.45
deleteMethod · 0.45

Calls 1

insertMethod · 0.45

Tested by 6

block_fully_deletedFunction · 0.36
compact_all_deletedFunction · 0.36