(binary: &Path)
| 354 | } |
| 355 | |
| 356 | fn integration_command(binary: &Path) -> io::Result<String> { |
| 357 | Ok(format!( |
| 358 | "{} git shim hook-post-checkout \"$@\" || true", |
| 359 | shell_quote(binary)? |
| 360 | )) |
| 361 | } |
| 362 | |
| 363 | fn shell_quote(path: &Path) -> io::Result<String> { |
| 364 | let value = path.to_str().ok_or_else(|| { |
no outgoing calls
no test coverage detected