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

Method git

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

Source from the content-addressed store, hash-verified

102 }
103
104 fn git(&self, args: &[&str]) -> Output {
105 Command::new("git")
106 .args(args)
107 .current_dir(self.root())
108 .env("HOME", self.home.path())
109 .env("GIT_CONFIG_NOSYSTEM", "1")
110 .env("GIT_AUTHOR_DATE", "2001-01-01T00:00:00Z")
111 .env("GIT_COMMITTER_DATE", "2001-01-01T00:00:00Z")
112 .output()
113 .expect("run git")
114 }
115
116 fn git_ok(&self, args: &[&str]) -> Output {
117 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