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

Method atomic

atomic-cli/tests/it/git_shim_opt_in_test.rs:65–79  ·  view source on GitHub ↗
(&self, args: &[&str])

Source from the content-addressed store, hash-verified

63 }
64
65 fn atomic(&self, args: &[&str]) -> Output {
66 Command::new(ATOMIC_BIN)
67 .args(args)
68 .current_dir(self.root())
69 .env("HOME", self.home.path())
70 .env("ATOMIC_HOME", self.home.path().join(".atomic"))
71 .env("ATOMIC_NONINTERACTIVE", "1")
72 .env("NO_COLOR", "1")
73 .env("CLICOLOR", "0")
74 .env("TERM", "dumb")
75 .stdout(Stdio::piped())
76 .stderr(Stdio::piped())
77 .output()
78 .expect("run atomic")
79 }
80
81 fn atomic_ok(&self, args: &[&str]) -> Output {
82 let output = self.atomic(args);

Calls 3

outputMethod · 0.45
rootMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected