Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ set
Method
set
atomic-cli/src/commands/update.rs:595–598 ·
view source on GitHub ↗
(mut self, k: &str, v: &str)
Source
from the content-addressed store, hash-verified
593
Self(HashMap::new())
594
}
595
fn set(mut self, k: &str, v: &str) -> Self {
596
self.0.insert(k.into(), v.into());
597
self
598
}
599
}
600
impl EnvLookup for MockEnv {
601
fn var(&self, k: &str) -> Option<String> {
Callers
11
manifest_path_uses_xdg_state_home_when_set
Function · 0.45
manifest_path_falls_back_to_home
Function · 0.45
manifest_path_treats_empty_xdg_state_home_as_unset
Function · 0.45
detect_source_manifest_happy_path
Function · 0.45
detect_source_manifest_path_mismatch_falls_through
Function · 0.45
detect_source_rejects_unknown_schema_version
Function · 0.45
detect_source_handles_malformed_manifest
Function · 0.45
detect_source_cargo_with_cargo_home
Function · 0.45
detect_source_cargo_with_home_only
Function · 0.45
upgrade_message_official_installer_custom_home_path
Function · 0.45
upgrade_message_path_with_dollar_does_not_expand
Function · 0.45
Calls
1
insert
Method · 0.45
Tested by
11
manifest_path_uses_xdg_state_home_when_set
Function · 0.36
manifest_path_falls_back_to_home
Function · 0.36
manifest_path_treats_empty_xdg_state_home_as_unset
Function · 0.36
detect_source_manifest_happy_path
Function · 0.36
detect_source_manifest_path_mismatch_falls_through
Function · 0.36
detect_source_rejects_unknown_schema_version
Function · 0.36
detect_source_handles_malformed_manifest
Function · 0.36
detect_source_cargo_with_cargo_home
Function · 0.36
detect_source_cargo_with_home_only
Function · 0.36
upgrade_message_official_installer_custom_home_path
Function · 0.36
upgrade_message_path_with_dollar_does_not_expand
Function · 0.36