pub fn load_index(index_path: &Path) -> Result<RegistryIndex, String>
Parse a registry index from disk.