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

Function run

atomic-cli/tests/it/working_copy_preservation_test.rs:19–27  ·  view source on GitHub ↗
(root: &Path, args: &[&str])

Source from the content-addressed store, hash-verified

17}
18
19fn run(root: &Path, args: &[&str]) -> String {
20 let out = atomic(root, args);
21 assert!(
22 out.status.success(),
23 "{args:?}: {}",
24 String::from_utf8_lossy(&out.stderr)
25 );
26 String::from_utf8(out.stdout).unwrap()
27}
28
29fn record(root: &Path, message: &str) {
30 run(

Calls 2

atomicFunction · 0.70
unwrapMethod · 0.45

Tested by

no test coverage detected