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

Method git_ok

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

Source from the content-addressed store, hash-verified

95 }
96
97 fn git_ok(&self, args: &[&str]) -> Output {
98 let output = self.git(args);
99 assert_success(&output, &format!("git {}", args.join(" ")));
100 output
101 }
102
103 fn git_text(&self, args: &[&str]) -> String {
104 String::from_utf8(self.git_ok(args).stdout).expect("UTF-8 Git output")

Callers 4

fresh_git_initMethod · 0.45
existing_git_historyMethod · 0.45
git_textMethod · 0.45

Calls 2

assert_successFunction · 0.70
gitMethod · 0.45

Tested by

no test coverage detected