Check whether the content index exists and is usable.
(repo_root: &Path)
| 527 | |
| 528 | /// Check whether the content index exists and is usable. |
| 529 | pub fn has_content_index(repo_root: &Path) -> bool { |
| 530 | let index_dir = repo_root.join(".atomic").join("content-index"); |
| 531 | // The manifest file is the authoritative marker for a built index. |
| 532 | index_dir.join("manifest.json").exists() |
| 533 | } |
| 534 | |
| 535 | /// Return statistics about the content index. |
| 536 | /// |
no test coverage detected