Skip to main content

load_default_catalog

Function load_default_catalog 

Source
pub fn load_default_catalog() -> Result<Catalog, XmlError>
Expand description

Load a catalog using the default discovery rules — convenience wrapper combining discover_catalog_paths and Catalog::from_files. Silently skips paths that don’t exist (a fresh macOS install, for example, returns an empty catalog).