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

Function git_text

atomic-cli/tests/it/git_wip_cb0b_test.rs:38–43  ·  view source on GitHub ↗
(root: &Path, args: &[&str])

Source from the content-addressed store, hash-verified

36}
37
38fn git_text(root: &Path, args: &[&str]) -> String {
39 String::from_utf8(git_ok(root, args))
40 .expect("UTF-8 Git output")
41 .trim()
42 .to_string()
43}
44
45fn init_git(root: &Path) {
46 git_ok(root, &["init", "-q"]);

Calls 1

git_okFunction · 0.70

Tested by

no test coverage detected