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

Method contains

atomic-core/src/change/format_v3/hash_table.rs:432–434  ·  view source on GitHub ↗
(&self, hash: &[u8; 32])

Source from the content-addressed store, hash-verified

430 /// ```
431 #[inline]
432 pub fn contains(&self, hash: &[u8; 32]) -> bool {
433 self.index_map.contains_key(hash)
434 }
435
436 /// Returns the number of entries in the table.
437 ///

Callers 2

explains_changeMethod · 0.45
walk_backwardMethod · 0.45

Calls 1

contains_keyMethod · 0.80

Tested by

no test coverage detected