Get the display name for the repository. Returns the inferred name from URL or the provided path.
(&self)
| 295 | /// |
| 296 | /// Returns the inferred name from URL or the provided path. |
| 297 | fn get_display_name(&self) -> String { |
| 298 | self.path |
| 299 | .clone() |
| 300 | .or_else(|| infer_repo_name(&self.url)) |
| 301 | .unwrap_or_else(|| "repo".to_string()) |
| 302 | } |
| 303 | |
| 304 | /// Clone every remote view other than the primary `--view`. |
| 305 | /// |
no test coverage detected