Returns true if the project's canonical or display root still exists.
(project: &CodeProjectRecord)
| 145 | |
| 146 | /// Returns true if the project's canonical or display root still exists. |
| 147 | pub fn code_project_root_exists(project: &CodeProjectRecord) -> bool { |
| 148 | Path::new(&project.canonical_root).exists() || Path::new(&project.display_root).exists() |
| 149 | } |
| 150 | |
| 151 | /// Filters registry rows that are stale under `scope`, restricted to |
| 152 | /// canonical roots under one of `prefixes` (an empty slice means no |
no test coverage detected