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

Function seed_config

atomic-cli/src/commands/org/set.rs:267–271  ·  view source on GitHub ↗
(default_org: &str)

Source from the content-addressed store, hash-verified

265 }
266
267 fn seed_config(default_org: &str) {
268 let mut cfg = GlobalConfig::load().unwrap();
269 cfg.server.default_org = Some(default_org.to_string());
270 cfg.save().unwrap();
271 }
272
273 #[test]
274 #[serial]

Calls 2

unwrapMethod · 0.45
saveMethod · 0.45

Tested by

no test coverage detected