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

Function atomic

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

Source from the content-addressed store, hash-verified

17const ATOMIC_BIN: &str = env!("CARGO_BIN_EXE_atomic");
18
19fn atomic(root: &Path, home: &Path, args: &[&str]) -> Output {
20 Command::new(ATOMIC_BIN)
21 .args(args)
22 .current_dir(root)
23 .env("HOME", home)
24 .env("ATOMIC_HOME", home.join(".atomic"))
25 .env("GIT_AUTHOR_DATE", "@1726732800 +0000")
26 .env("GIT_COMMITTER_DATE", "@1726732800 +0000")
27 .output()
28 .expect("run atomic")
29}
30
31fn atomic_text(output: &Output) -> String {
32 format!(

Callers 2

atomic_okFunction · 0.70

Calls 1

outputMethod · 0.45

Tested by

no test coverage detected