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

Function atomic

atomic-cli/tests/insert_promote_integration_test.rs:18–24  ·  view source on GitHub ↗

Run `atomic ` inside `dir`.

(dir: &Path, args: &[&str])

Source from the content-addressed store, hash-verified

16
17/// Run `atomic <args>` inside `dir`.
18fn atomic(dir: &Path, args: &[&str]) -> Output {
19 Command::new(ATOMIC_BIN)
20 .args(args)
21 .current_dir(dir)
22 .output()
23 .expect("run atomic")
24}
25
26/// Combined stdout + stderr as a lossy string, for substring assertions.
27fn combined(out: &Output) -> String {

Calls

no outgoing calls

Tested by

no test coverage detected