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

Method node_count

nodedb-array/src/segment/mbr_index/build.rs:81–83  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

79 }
80
81 pub fn node_count(&self) -> usize {
82 self.nodes.len()
83 }
84
85 pub fn is_empty(&self) -> bool {
86 self.root.is_none()

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected