(path: &Path)
| 758 | } |
| 759 | |
| 760 | fn canonicalize_lenient(path: &Path) -> PathBuf { |
| 761 | path.canonicalize().unwrap_or_else(|_| path.to_path_buf()) |
| 762 | } |
| 763 | |
| 764 | fn current_dir_canonical() -> CliResult<PathBuf> { |
| 765 | let cwd = std::env::current_dir().map_err(CliError::Io)?; |
no test coverage detected