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

Method env_var

crates/openshell-providers/src/context.rs:11–13  ·  view source on GitHub ↗
(&self, key: &str)

Source from the content-addressed store, hash-verified

9
10impl DiscoveryContext for RealDiscoveryContext {
11 fn env_var(&self, key: &str) -> Option<String> {
12 std::env::var(key).ok()
13 }
14}

Callers 2

discover_with_specFunction · 0.45
discover_from_profileFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected