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

Method clear

nodedb-crdt/src/deferred.rs:183–185  ·  view source on GitHub ↗

Clear all entries.

(&mut self)

Source from the content-addressed store, hash-verified

181
182 /// Clear all entries.
183 pub fn clear(&mut self) {
184 self.entries.clear();
185 }
186}
187
188#[cfg(test)]

Callers 6

trainMethod · 0.45
centerMethod · 0.45
compact_segmentFunction · 0.45
compact_segmentsFunction · 0.45
on_memtable_flushedMethod · 0.45
clear_empties_queueFunction · 0.45

Calls

no outgoing calls

Tested by 1

clear_empties_queueFunction · 0.36