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

Method git

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

Source from the content-addressed store, hash-verified

84 }
85
86 fn git(&self, args: &[&str]) {
87 let output = Command::new("git")
88 .args(["-c", "core.hooksPath=/dev/null"])
89 .args(args)
90 .current_dir(self.repo.path())
91 .env("HOME", self.home.path())
92 .env("GIT_CONFIG_NOSYSTEM", "1")
93 .env("GIT_CONFIG_GLOBAL", "/dev/null")
94 .output()
95 .unwrap();
96 assert!(output.status.success(), "git {args:?}: {output:?}");
97 }
98}
99
100struct MockServer {

Calls 3

unwrapMethod · 0.45
outputMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected