MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / VarEnv

Class VarEnv

atomic-cli/tests/provenance_rpc_sink.rs:134–134  ·  view source on GitHub ↗

Guard that restores one env override when dropped (panic-safe).

Source from the content-addressed store, hash-verified

132
133/// Guard that restores one env override when dropped (panic-safe).
134struct VarEnv(&'static str, Option<std::ffi::OsString>);
135
136impl VarEnv {
137 fn set(key: &'static str, value: &str) -> Self {

Callers 1

setMethod · 0.85

Calls

no outgoing calls

Tested by 1

setMethod · 0.68