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

Method is_chained

atomic-core/src/change/provenance_graph/mod.rs:406–408  ·  view source on GitHub ↗

Check if this graph is part of a chain (has a predecessor).

(&self)

Source from the content-addressed store, hash-verified

404
405 /// Check if this graph is part of a chain (has a predecessor).
406 pub fn is_chained(&self) -> bool {
407 self.previous.is_some()
408 }
409
410 /// Find a node by ID.
411 pub fn find_node(&self, id: &str) -> Option<&ProvenanceNode> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected