Skip to main content

parse_file

Function parse_file 

Source
pub fn parse_file(path: &Path) -> Result<PolicyPack, PolicyError>
Expand description

Parse a pack from a file path. Read errors surface as PolicyError::Toml with the OS message — the CLI shows them verbatim.