(operation: &'static str, output: &Output)
| 652 | } |
| 653 | |
| 654 | fn command_failure(operation: &'static str, output: &Output) -> WipCaptureError { |
| 655 | WipCaptureError::GitCommand { |
| 656 | operation, |
| 657 | status: output.status.code(), |
| 658 | stderr: String::from_utf8_lossy(&output.stderr).trim().to_string(), |
| 659 | } |
| 660 | } |
| 661 | |
| 662 | struct TempIndex { |
| 663 | directory: PathBuf, |
no test coverage detected