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

Method var

atomic-cli/src/commands/update.rs:135–137  ·  view source on GitHub ↗
(&self, key: &str)

Source from the content-addressed store, hash-verified

133pub struct StdEnv;
134impl EnvLookup for StdEnv {
135 fn var(&self, key: &str) -> Option<String> {
136 std::env::var(key).ok()
137 }
138}
139
140/// Shape of `~/.local/state/atomic/install.json` as written by install.sh.

Callers 4

manifest_pathFunction · 0.80
detect_sourceFunction · 0.80
fetch_latestFunction · 0.80
format_upgrade_messageFunction · 0.80

Calls 1

getMethod · 0.65

Tested by

no test coverage detected