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

Method explains_change

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

399
400 /// Check if a specific change is explained by this graph.
401 pub fn explains_change(&self, hash: &Hash) -> bool {
402 self.changes_explained.contains(hash)
403 }
404
405 /// Check if this graph is part of a chain (has a predecessor).
406 pub fn is_chained(&self) -> bool {

Callers 1

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected