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

Function atomic_ok

atomic-cli/tests/it/agent_capture_oracle_cb12a_test.rs:44–57  ·  view source on GitHub ↗
(root: &std::path::Path, home: &std::path::Path, args: &[&str])

Source from the content-addressed store, hash-verified

42}
43
44fn atomic_ok(root: &std::path::Path, home: &std::path::Path, args: &[&str]) -> String {
45 let output = atomic(root, home, args);
46 assert!(
47 output.status.success(),
48 "atomic {args:?} failed:\n{}{}",
49 String::from_utf8_lossy(&output.stdout),
50 String::from_utf8_lossy(&output.stderr)
51 );
52 format!(
53 "{}{}",
54 String::from_utf8_lossy(&output.stdout),
55 String::from_utf8_lossy(&output.stderr)
56 )
57}
58
59fn atomic_with_stdin(
60 root: &std::path::Path,

Calls 1

atomicFunction · 0.70

Tested by

no test coverage detected