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

Method atomic

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

Source from the content-addressed store, hash-verified

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

Calls 3

rootMethod · 0.45
pathMethod · 0.45
outputMethod · 0.45

Tested by

no test coverage detected