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

Method explains_change

atomic-core/src/change/provenance_graph/mod.rs:393–395  ·  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

391
392 /// Check if a specific change is explained by this graph.
393 pub fn explains_change(&self, hash: &Hash) -> bool {
394 self.changes_explained.contains(hash)
395 }
396
397 /// Check if this graph is part of a chain (has a predecessor).
398 pub fn is_chained(&self) -> bool {

Callers 1

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected