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

Function atomic

atomic-cli/tests/it/git_adoption_cb7b_test.rs:36–44  ·  view source on GitHub ↗
(root: &Path, home: &Path, args: &[&str])

Source from the content-addressed store, hash-verified

34const ATOMIC_BIN: &str = env!("CARGO_BIN_EXE_atomic");
35
36fn atomic(root: &Path, home: &Path, args: &[&str]) -> Output {
37 Command::new(ATOMIC_BIN)
38 .args(args)
39 .current_dir(root)
40 .env("HOME", home)
41 .env("ATOMIC_HOME", home.join(".atomic"))
42 .output()
43 .expect("run atomic")
44}
45
46fn atomic_text(output: &Output) -> String {
47 format!(

Calls 1

outputMethod · 0.45

Tested by

no test coverage detected