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

Function atomic_ok

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

Source from the content-addressed store, hash-verified

38}
39
40fn atomic_ok(root: &Path, home: &Path, args: &[&str]) {
41 let output = atomic(root, home, args);
42 assert!(
43 output.status.success(),
44 "atomic {args:?} failed:\nstdout:\n{}\nstderr:\n{}",
45 String::from_utf8_lossy(&output.stdout),
46 String::from_utf8_lossy(&output.stderr)
47 );
48}
49
50fn git(root: &Path, args: &[&str]) -> String {
51 let output = Command::new("git")

Calls 1

atomicFunction · 0.70

Tested by

no test coverage detected