MCPcopy Create free account
hub / github.com/dfinity/orbit / contains_key

Method contains_key

core/station/impl/src/core/cache.rs:63–65  ·  view source on GitHub ↗

Contains the key.

(&self, key: &Key)

Source from the content-addressed store, hash-verified

61
62 /// Contains the key.
63 pub fn contains_key(&self, key: &Key) -> bool {
64 self.map.contains_key(key)
65 }
66
67 /// Clears the cache.
68 pub fn clear(&mut self) {

Callers 3

add_entry_indexesMethod · 0.80
existsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected