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

Function git_text

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

Source from the content-addressed store, hash-verified

94}
95
96fn git_text(root: &Path, args: &[&str]) -> String {
97 let out = git(root, args);
98 assert!(
99 out.status.success(),
100 "git {args:?} failed: {}",
101 output_text(&out)
102 );
103 String::from_utf8_lossy(&out.stdout).to_string()
104}
105
106/// A git-import publisher fixture (no binding publication): mirrors the
107/// CB-6B setup — Git repo with one commit, imported baseline, then one

Calls 1

gitFunction · 0.70

Tested by

no test coverage detected