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

Function run

atomic-cli/tests/it/routing_parity_test.rs:28–36  ·  view source on GitHub ↗
(repo_dir: &Path, home_dir: &Path, args: &[&str])

Source from the content-addressed store, hash-verified

26}
27
28fn run(repo_dir: &Path, home_dir: &Path, args: &[&str]) -> String {
29 let output = atomic(repo_dir, home_dir, args);
30 assert!(
31 output.status.success(),
32 "{args:?} failed: {}",
33 String::from_utf8_lossy(&output.stderr)
34 );
35 String::from_utf8_lossy(&output.stdout).into_owned()
36}
37
38/// A fresh repo + vault with an isolated HOME carrying a default identity
39/// (the attestation flow needs one).

Calls 1

atomicFunction · 0.70

Tested by

no test coverage detected