(root: &Path, args: &[&str])
| 15 | const ATOMIC_BIN: &str = env!("CARGO_BIN_EXE_atomic"); |
| 16 | |
| 17 | fn git(root: &Path, args: &[&str]) -> Output { |
| 18 | Command::new("git") |
| 19 | .arg("-C") |
| 20 | .arg(root) |
| 21 | .args(args) |
| 22 | .output() |
| 23 | .expect("run git") |
| 24 | } |
| 25 | |
| 26 | fn git_ok(root: &Path, args: &[&str]) -> Vec<u8> { |
| 27 | let output = git(root, args); |
no test coverage detected