Skip to main content

parse

Function parse 

Source
pub fn parse(
    text: &str,
    id: &str,
    origin: Origin,
    file: Option<&Path>,
) -> Result<Catalog, CatalogError>
Expand description

Read a catalog’s text. id is what home.hide will name it; file is where a relative path is anchored, and is named by errors.