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

Method git_text

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

Source from the content-addressed store, hash-verified

120 }
121
122 fn git_text(&self, args: &[&str]) -> String {
123 String::from_utf8(self.git_ok(args).stdout)
124 .expect("UTF-8 Git output")
125 .trim()
126 .to_string()
127 }
128
129 fn raw_git_drift(&self, branch: &str) {
130 self.git_ok(&["switch", "-q", "-c", branch]);

Calls 1

git_okMethod · 0.45

Tested by

no test coverage detected