MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / node_count

Method node_count

atomic-agent/src/provenance/accumulator/mod.rs:241–243  ·  view source on GitHub ↗

Number of nodes in the graph.

(&self)

Source from the content-addressed store, hash-verified

239
240 /// Number of nodes in the graph.
241 pub fn node_count(&self) -> usize {
242 self.nodes.len()
243 }
244
245 /// Number of edges in the graph.
246 pub fn edge_count(&self) -> usize {

Callers 2

to_compaction_summaryMethod · 0.45
push_changes_implFunction · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected