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

Function git

atomic-cli/tests/it/build_version_integration_test.rs:25–42  ·  view source on GitHub ↗
(dir: &Path, args: &[&str])

Source from the content-addressed store, hash-verified

23}
24
25fn git(dir: &Path, args: &[&str]) -> String {
26 stdout(
27 Command::new("git")
28 .arg("-C")
29 .arg(dir)
30 .args([
31 "-c",
32 "user.name=Atomic Build Test",
33 "-c",
34 "user.email=build-test@example.invalid",
35 "-c",
36 "commit.gpgsign=false",
37 ])
38 .args(args)
39 .output()
40 .unwrap(),
41 )
42}
43
44impl Fixture {
45 fn new(repository: bool) -> Self {

Calls 3

stdoutFunction · 0.85
unwrapMethod · 0.45
outputMethod · 0.45

Tested by

no test coverage detected