Skip to main content

parse

Function parse 

Source
pub fn parse(location: &str, bytes: &[u8]) -> Result<Catalog>
Expand description

A catalog from a file’s bytes and where it came from (a URL or a path): a SWORD repository’s when location ends in .tar.gz, else its text (parse_text)