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

Function atomic

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

Source from the content-addressed store, hash-verified

28const ATOMIC_BIN: &str = env!("CARGO_BIN_EXE_atomic");
29
30fn atomic(root: &Path, home: &Path, args: &[&str]) -> Output {
31 Command::new(ATOMIC_BIN)
32 .args(args)
33 .current_dir(root)
34 .env("HOME", home)
35 .env("ATOMIC_HOME", home.join(".atomic"))
36 .env("GIT_AUTHOR_DATE", "@1726732800 +0000")
37 .env("GIT_COMMITTER_DATE", "@1726732800 +0000")
38 .output()
39 .expect("run atomic")
40}
41
42fn atomic_text(output: &Output) -> String {
43 format!(

Callers 2

atomic_okFunction · 0.70
atomic_failFunction · 0.70

Calls 1

outputMethod · 0.45

Tested by

no test coverage detected