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

Function atomic_ok

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

Source from the content-addressed store, hash-verified

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

Callers 3

newMethod · 0.70
atomicMethod · 0.70

Calls 2

atomicFunction · 0.70
atomic_textFunction · 0.70

Tested by

no test coverage detected