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

Method is_empty

nodedb-fts/src/lsm/memtable.rs:204–206  ·  view source on GitHub ↗

Whether the memtable is empty.

(&self)

Source from the content-addressed store, hash-verified

202
203 /// Whether the memtable is empty.
204 pub fn is_empty(&self) -> bool {
205 self.postings.borrow().is_empty()
206 }
207}
208
209#[cfg(test)]

Callers 11

write_postingsMethod · 0.45
merge_worker_segmentsFunction · 0.45
merge_segmentsFunction · 0.45
remove_docMethod · 0.45
delete_synonym_groupMethod · 0.45
get_synonym_groupMethod · 0.45
read_name_indexMethod · 0.45
index_documentMethod · 0.45
flush_memtableMethod · 0.45

Calls 1

borrowMethod · 0.80

Tested by

no test coverage detected