pub async fn LoadIndexWithRecovery( index_directory: &Path, max_retries: usize, ) -> Result<FileIndex>
Load index with automatic recovery on corruption