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:596–599 ·
view source on GitHub ↗
(mut self, k: &str, v: &str)
Source
from the content-addressed store, hash-verified
594
Self(HashMap::new())
595
}
596
fn set(mut self, k: &str, v: &str) -> Self {
597
self.0.insert(k.into(), v.into());
598
self
599
}
600
}
601
impl EnvLookup for MockEnv {
602
fn var(&self, k: &str) -> Option<String> {
Callers
15
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_preserves_command_symlink_for_versioned_install
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
13
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_preserves_command_symlink_for_versioned_install
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