Skip to main content

detect_format

Function detect_format 

Source
pub fn detect_format(path: &Path) -> Option<DocumentFormat>
Expand description

Detects the document format from file extension and magic bytes.