Check whether the content index exists and is usable.
(repo_root: &Path)
| 325 | |
| 326 | /// Check whether the content index exists and is usable. |
| 327 | pub fn has_content_index(repo_root: &Path) -> bool { |
| 328 | let index_dir = repo_root.join(".atomic").join("content-index"); |
| 329 | // The manifest file is the authoritative marker for a built index. |
| 330 | index_dir.join("manifest.json").exists() |
| 331 | } |
| 332 | |
| 333 | /// Return statistics about the content index. |
| 334 | /// |
no test coverage detected