[−][src]Function rscache::util::load_indices
pub fn load_indices<P: AsRef<Path>>(path: P) -> Result<HashMap<u8, Index>>
Loads all indices present in the cache folder.
The u8
in HashMap<u8, Index>
represents the id of the index.
Errors
Can return multiple errors: if the index couldnt be parsed or the index couldn't be opened.