Skip to main content

parse_path

Function parse_path 

Source
pub fn parse_path(path: &Path) -> Result<ParseOutput, ParseError>
Expand description

Parse a spec from a filesystem path. External $refs are resolved relative to the spec file’s parent directory; paths that escape that root are rejected with parser/E-EXTERNAL-REF.