pub fn validate_index<K>(path: &Path) -> Result<()>where for<'a> K: Key<'a> + 'static,
Validate index file