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

Method covers_change

atomic-core/src/change/attestation.rs:664–666  ·  view source on GitHub ↗

Check if a specific change is covered by this attestation.

(&self, hash: &Hash)

Source from the content-addressed store, hash-verified

662
663 /// Check if a specific change is covered by this attestation.
664 pub fn covers_change(&self, hash: &Hash) -> bool {
665 self.changes_covered.contains(hash)
666 }
667
668 /// Check if this attestation is part of a chain (has a predecessor).
669 pub fn is_chained(&self) -> bool {

Callers 2

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected