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

Method git

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

Source from the content-addressed store, hash-verified

95 }
96
97 fn git(&self, args: &[&str]) -> Output {
98 Command::new("git")
99 .args(args)
100 .current_dir(self.root())
101 .env("HOME", self.home.path())
102 .env("GIT_CONFIG_NOSYSTEM", "1")
103 .env("GIT_AUTHOR_DATE", "2001-01-01T00:00:00Z")
104 .env("GIT_COMMITTER_DATE", "2001-01-01T00:00:00Z")
105 .output()
106 .expect("run git")
107 }
108
109 fn git_ok(&self, args: &[&str]) -> Output {
110 let output = self.git(args);

Callers 1

git_okMethod · 0.45

Calls 3

outputMethod · 0.45
rootMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected