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

Function atomic

atomic-cli/tests/restore_integration_test.rs:17–23  ·  view source on GitHub ↗

Run `atomic ` inside `dir`.

(dir: &Path, args: &[&str])

Source from the content-addressed store, hash-verified

15
16/// Run `atomic <args>` inside `dir`.
17fn atomic(dir: &Path, args: &[&str]) -> Output {
18 Command::new(ATOMIC_BIN)
19 .args(args)
20 .current_dir(dir)
21 .output()
22 .expect("run atomic")
23}
24
25/// Initialize a repo with a single recorded file `file.txt` = "v1\n".
26fn repo_with_recorded_file() -> TempDir {

Calls

no outgoing calls

Tested by

no test coverage detected