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

Method get_ref

flow-message/src/cross/cow_map.rs:20–22  ·  view source on GitHub ↗
(&self, key: &str)

Source from the content-addressed store, hash-verified

18
19impl private::IndexGetDataRefForGet<str> for CowMap {
20 fn get_ref(&self, key: &str) -> Option<&data::Data> {
21 self.get(key)
22 }
23}
24
25impl private::IndexGetDataRefForGetRef<str> for CowMap {

Callers 2

xgetMethod · 0.45
xget_refMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected