Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
23
impl 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
get
Method · 0.45
Tested by
no test coverage detected