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

Method remove

nodedb-columnar/src/pk_index.rs:83–85  ·  view source on GitHub ↗

Remove a PK entry (used when a row is deleted and compacted away).

(&mut self, pk_bytes: &[u8])

Source from the content-addressed store, hash-verified

81
82 /// Remove a PK entry (used when a row is deleted and compacted away).
83 pub fn remove(&mut self, pk_bytes: &[u8]) -> Option<RowLocation> {
84 self.inner.remove(pk_bytes)
85 }
86
87 /// Check whether a PK exists in the index.
88 pub fn contains(&self, pk_bytes: &[u8]) -> bool {

Callers 6

remap_segmentMethod · 0.45
remove_entryFunction · 0.45
unmark_deletedMethod · 0.45
deleteMethod · 0.45

Calls

no outgoing calls

Tested by 1

remove_entryFunction · 0.36