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

Function seed_config

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

Source from the content-addressed store, hash-verified

277 }
278
279 fn seed_config(default_org: &str) {
280 let mut cfg = GlobalConfig::load().unwrap();
281 cfg.server.default_org = Some(default_org.to_string());
282 cfg.save().unwrap();
283 }
284
285 #[test]
286 #[serial]

Calls 2

unwrapMethod · 0.45
saveMethod · 0.45

Tested by

no test coverage detected