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

Method is_populated

atomic-agent/src/transcript/reasoning.rs:283–285  ·  view source on GitHub ↗

Returns true if this anchor has any references.

(&self)

Source from the content-addressed store, hash-verified

281
282 /// Returns true if this anchor has any references.
283 pub fn is_populated(&self) -> bool {
284 self.trunk.is_some() || !self.branches.is_empty() || !self.leaves.is_empty()
285 }
286}
287
288/// Anchor code learnings to the CRDT graph using FileOps from the recorded change.

Callers 1

anchor_to_graphFunction · 0.80

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected