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

Function atomic_ok

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

Source from the content-addressed store, hash-verified

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

Calls 2

atomicFunction · 0.70
atomic_textFunction · 0.70

Tested by

no test coverage detected