MCPcopy Create free account
hub / github.com/consensus-shipyard/ipc / s2i

Method s2i

fendermint/storage/src/testing.rs:141–143  ·  view source on GitHub ↗
(&mut self, ns: TestNamespace)

Source from the content-addressed store, hash-verified

139 S: KVStore<Namespace = TestNamespace> + Clone + Codec<String> + Codec<u8>,
140{
141 fn s2i(&mut self, ns: TestNamespace) -> &KVCollection<S, String, u8> {
142 self.s2i.entry(ns).or_insert_with(|| KVCollection::new(ns))
143 }
144
145 fn i2s(&mut self, ns: TestNamespace) -> &KVCollection<S, u8, String> {
146 self.i2s.entry(ns).or_insert_with(|| KVCollection::new(ns))

Callers 3

check_writableFunction · 0.80
check_write_isolationFunction · 0.80
check_read_isolationFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected