Skip to main content

detect_format

Function detect_format 

Source
pub fn detect_format(path: &str) -> Result<DocumentFormat, ParseError>
Expand description

Infer the format from a file path per the spec §4 extensions.