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

Function git

atomic-cli/src/commands/git/observation.rs:1509–1517  ·  view source on GitHub ↗
(root: &Path, args: &[&str])

Source from the content-addressed store, hash-verified

1507 use tempfile::TempDir;
1508
1509 fn git(root: &Path, args: &[&str]) -> std::process::Output {
1510 Command::new("git")
1511 .arg("-c")
1512 .arg("commit.gpgsign=false")
1513 .args(args)
1514 .current_dir(root)
1515 .output()
1516 .expect("run git")
1517 }
1518
1519 fn initialized_repository() -> (TempDir, GitRepository) {
1520 let directory = TempDir::new().expect("temp directory");

Calls 1

outputMethod · 0.45

Tested by

no test coverage detected