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

Function atomic

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

Source from the content-addressed store, hash-verified

23const ATOMIC_BIN: &str = env!("CARGO_BIN_EXE_atomic");
24
25fn atomic(root: &std::path::Path, home: &std::path::Path, args: &[&str]) -> Output {
26 Command::new(ATOMIC_BIN)
27 .args(args)
28 .current_dir(root)
29 .env("HOME", home)
30 .env("ATOMIC_HOME", home.join(".atomic"))
31 .output()
32 .expect("run atomic")
33}
34
35#[allow(dead_code)]
36fn atomic_text(output: &Output) -> String {

Callers 1

atomic_okFunction · 0.70

Calls 1

outputMethod · 0.45

Tested by

no test coverage detected