Skip to main content

load_index

Function load_index 

Source
pub fn load_index(input: &Path) -> Result<Option<Index>>
Expand description

Read <input>.fai if it is there.

A missing index is not an error: it only means falling back to whole-record reads. A malformed one is an error, since silently ignoring it would quietly give up the lower memory the user was expecting.