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

Function atomic_ok

atomic-cli/tests/it/git_projection_cb8a_test.rs:49–57  ·  view source on GitHub ↗
(root: &Path, home: &Path, args: &[&str])

Source from the content-addressed store, hash-verified

47}
48
49fn atomic_ok(root: &Path, home: &Path, args: &[&str]) -> String {
50 let output = atomic(root, home, args);
51 assert!(
52 output.status.success(),
53 "atomic {args:?} failed:\n{}",
54 atomic_text(&output)
55 );
56 atomic_text(&output)
57}
58
59fn git(root: &Path, args: &[&str]) -> String {
60 let output = Command::new("git")

Calls 2

atomicFunction · 0.70
atomic_textFunction · 0.70

Tested by

no test coverage detected