MCPcopy Create free account
hub / github.com/elastic/devfiler / contains_key

Method contains_key

src/storage/table.rs:190–192  ·  view source on GitHub ↗

Checks whether the given key exists in the DB.

(&self, key: Self::Key)

Source from the content-addressed store, hash-verified

188
189 /// Checks whether the given key exists in the DB.
190 fn contains_key(&self, key: Self::Key) -> bool {
191 self.get(key).is_some() // TODO: better impl
192 }
193
194 /// Iterate over all key-value pairs in the database.
195 ///

Callers 1

ingest_locationsFunction · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected