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

Function atomic_ok

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

Source from the content-addressed store, hash-verified

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

Calls 2

atomicFunction · 0.70
atomic_textFunction · 0.70

Tested by

no test coverage detected