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

Calls 1

insertMethod · 0.45