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

Method is_empty

nodedb-vector/src/codec_index/graph.rs:95–97  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

93 }
94
95 pub fn is_empty(&self) -> bool {
96 self.nodes.iter().all(|n| n.deleted)
97 }
98
99 pub fn dim(&self) -> usize {
100 self.dim

Callers 1

searchMethod · 0.45

Calls 2

allMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected