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

Method empty

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

Create an empty anchor.

()

Source from the content-addressed store, hash-verified

272impl GraphAnchor {
273 /// Create an empty anchor.
274 pub fn empty() -> Self {
275 Self {
276 trunk: None,
277 branches: Vec::new(),
278 leaves: Vec::new(),
279 }
280 }
281
282 /// Returns true if this anchor has any references.
283 pub fn is_populated(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected