MCPcopy 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> {

Calls 1

insertMethod · 0.45