MCPcopy Index your code
hub / github.com/BitVM/BitVM / get

Method get

bridge/src/client/memory_cache.rs:39–45  ·  view source on GitHub ↗
(&mut self, key: &Q)

Source from the content-addressed store, hash-verified

37 }
38
39 pub fn get<Q: ?Sized>(&mut self, key: &Q) -> Option<&V>
40 where
41 K: Borrow<Q>,
42 Q: Hash + Eq,
43 {
44 self.0.get(key)
45 }
46
47 pub fn get_or_put<F>(&mut self, key: K, f: F) -> &V
48 where

Callers 6

operator_statusMethod · 0.45
handle_commandMethod · 0.45
push_nonceMethod · 0.45
merge_hash_mapsFunction · 0.45
fund_inputsMethod · 0.45

Calls

no outgoing calls

Tested by 1

fund_inputsMethod · 0.36