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

Method with_env

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

Source from the content-addressed store, hash-verified

15 }
16
17 pub fn with_env(mut self, key: &str, value: &str) -> Self {
18 self.env.insert(key.to_string(), value.to_string());
19 self
20 }
21}
22
23impl DiscoveryContext for MockDiscoveryContext {

Calls

no outgoing calls

Tested by

no test coverage detected