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

Function atomic

atomic-cli/tests/it/vault_context_integration_test.rs:14–20  ·  view source on GitHub ↗
(dir: &Path, args: &[&str])

Source from the content-addressed store, hash-verified

12const ATOMIC_BIN: &str = env!("CARGO_BIN_EXE_atomic");
13
14fn atomic(dir: &Path, args: &[&str]) -> Output {
15 Command::new(ATOMIC_BIN)
16 .args(args)
17 .current_dir(dir)
18 .output()
19 .expect("run atomic")
20}
21
22fn write_memory(root: &Path, body: &str) {
23 let repo = Repository::open(root).expect("open repository");

Calls 1

outputMethod · 0.45

Tested by

no test coverage detected