MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / xget

Method xget

flow-message/src/cross/mod.rs:108–110  ·  view source on GitHub ↗
(&self, key: &Idx)

Source from the content-addressed store, hash-verified

106 Idx: ?Sized,
107 {
108 fn xget(&self, key: &Idx) -> Option<U> {
109 self.get_ref(key).map(|data| data::Get::get(data))
110 }
111 }
112
113 impl<'a, Idx, T, U> IndexGetRef<'a, Idx, U> for T

Callers 1

__getitem__Method · 0.45

Calls 1

get_refMethod · 0.45

Tested by

no test coverage detected