MCPcopy Create free account
hub / github.com/ChainSafe/Delorean-Protocol / insert

Method insert

fendermint/eth/api/src/cache.rs:50–52  ·  view source on GitHub ↗
(&self, key: K, value: V)

Source from the content-addressed store, hash-verified

48 }
49
50 pub fn insert(&self, key: K, value: V) {
51 self.with(|c| c.insert(key, value));
52 }
53
54 pub fn get(&self, key: &K) -> Option<V> {
55 self.with(|c| c.get(key).cloned())

Callers 4

set_idMethod · 0.45
set_addrMethod · 0.45

Calls 1

withMethod · 0.80

Tested by

no test coverage detected