Skip to main content

load_or_parse

Function load_or_parse 

Source
pub fn load_or_parse(xml_path: impl AsRef<Path>) -> Result<OwnedXmlIndex>
Expand description

Load a pre-built .sxi index if it exists and is fresh, otherwise parse and save the index for next time. Returns an OwnedXmlIndex that derefs to XmlIndex.