MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / env_var

Method env_var

crates/openshell-providers/src/test_helpers.rs:24–26  ·  view source on GitHub ↗
(&self, key: &str)

Source from the content-addressed store, hash-verified

22
23impl DiscoveryContext for MockDiscoveryContext {
24 fn env_var(&self, key: &str) -> Option<String> {
25 self.env.get(key).cloned()
26 }
27}

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected