(path: &Path)
| 9477 | } |
| 9478 | |
| 9479 | fn ensure_file(path: &Path) -> Result<()> { |
| 9480 | if !path.is_file() { |
| 9481 | bail!("expected file missing: {}", path.display()); |
| 9482 | } |
| 9483 | Ok(()) |
| 9484 | } |
| 9485 | |
| 9486 | #[cfg(unix)] |
| 9487 | fn is_executable(path: &Path) -> bool { |
no outgoing calls
no test coverage detected