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

Method contains

atomic-core/src/change/classification.rs:221–223  ·  view source on GitHub ↗

Whether a hash belongs to the verified transitive closure.

(&self, hash: &Hash)

Source from the content-addressed store, hash-verified

219
220 /// Whether a hash belongs to the verified transitive closure.
221 pub fn contains(&self, hash: &Hash) -> bool {
222 self.known.contains(hash)
223 }
224
225 /// Number of changes in the verified closure, including its roots.
226 pub fn len(&self) -> usize {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected