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

Function atomic_ok

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

Source from the content-addressed store, hash-verified

58}
59
60fn atomic_ok(root: &Path, home: &Path, args: &[&str]) -> String {
61 let output = atomic(root, home, args);
62 assert!(
63 output.status.success(),
64 "atomic {args:?} failed:\n{}",
65 atomic_text(&output)
66 );
67 atomic_text(&output)
68}
69
70#[allow(dead_code)]
71fn atomic_fail(root: &Path, home: &Path, args: &[&str]) -> String {

Callers 4

newMethod · 0.70
atomicMethod · 0.70
linked_worktreeMethod · 0.70

Calls 2

atomicFunction · 0.70
atomic_textFunction · 0.70

Tested by

no test coverage detected