MCPcopy Create free account
hub / github.com/dfinity/orbit / get

Method get

core/station/impl/src/models/metadata.rs:37–39  ·  view source on GitHub ↗
(&self, key: &str)

Source from the content-addressed store, hash-verified

35 }
36
37 pub fn get(&self, key: &str) -> Option<String> {
38 self.metadata.get(key).cloned()
39 }
40
41 pub fn keys(&self) -> Vec<&String> {
42 self.metadata.keys().collect()

Callers 1

containsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected