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

Method get

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

Returns a reference to the value at the key if it exists.

(&self, key: &Key)

Source from the content-addressed store, hash-verified

51
52 /// Returns a reference to the value at the key if it exists.
53 pub fn get(&self, key: &Key) -> Option<&Value> {
54 self.map.get(key)
55 }
56
57 /// Removes a key from the cache and returns the value at the key if it exists.
58 pub fn remove(&mut self, key: &Key) -> Option<Value> {

Callers 15

canister_idMethod · 0.45
get_canister_configMethod · 0.45
display_quorum_stateFunction · 0.45
display_listMethod · 0.45
get_assetMethod · 0.45
get_user_groupMethod · 0.45
get_named_ruleMethod · 0.45
createMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45

Calls

no outgoing calls

Tested by 2

test_request_insertionFunction · 0.36