Skip to main content

load_cache

Function load_cache 

Source
pub fn load_cache(
    path: impl AsRef<Path>,
    expected_hash: Option<&str>,
) -> Result<Option<SearchIndex>>
Expand description

Load cache if present and source_hash matches expected (when provided).