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

Method covers_change

atomic-core/src/change/attestation.rs:289–291  ·  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

287
288 /// Check if a specific change is covered by this attestation.
289 pub fn covers_change(&self, hash: &Hash) -> bool {
290 self.changes_covered.contains(hash)
291 }
292
293 /// Check if this attestation is part of a chain (has a predecessor).
294 pub fn is_chained(&self) -> bool {

Callers 1

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected