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

Method explains_change

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

Check if a specific change is explained by this graph.

(&self, hash: &Hash)

Source from the content-addressed store, hash-verified

365
366 /// Check if a specific change is explained by this graph.
367 pub fn explains_change(&self, hash: &Hash) -> bool {
368 self.changes_explained.contains(hash)
369 }
370
371 /// Check if this graph is part of a chain (has a predecessor).
372 pub fn is_chained(&self) -> bool {

Callers 1

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected