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

Function atomic

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

Source from the content-addressed store, hash-verified

7const ATOMIC_BIN: &str = env!("CARGO_BIN_EXE_atomic");
8
9fn atomic(root: &Path, args: &[&str]) -> Output {
10 Command::new(ATOMIC_BIN)
11 .args(args)
12 .current_dir(root)
13 .output()
14 .expect("run atomic binary")
15}
16
17fn assert_success(output: &Output, command: &str) {
18 assert!(

Calls 1

outputMethod · 0.45

Tested by

no test coverage detected