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

Function atomic_ok

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

Source from the content-addressed store, hash-verified

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

Callers 2

newMethod · 0.70
atomicMethod · 0.70

Calls 2

atomicFunction · 0.70
atomic_textFunction · 0.70

Tested by

no test coverage detected