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

Function temp_repo

atomic-cli/src/commands/agent/status.rs:622–626  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

620 }
621
622 fn temp_repo() -> tempfile::TempDir {
623 let dir = tempfile::TempDir::new().unwrap();
624 std::fs::create_dir_all(dir.path().join(".atomic")).unwrap();
625 dir
626 }
627
628 /// Every registry agent is listed, whatever its state. A caller deciding
629 /// whether to install has to tell "Atomic does not know this agent" from

Calls 2

unwrapMethod · 0.45
pathMethod · 0.45