pub fn parse_file(path: &Path) -> Result<ParsedDocument, ParseError>Expand description
Parse a file at path. Returns the normalized text + mime_type + raw byte
size of the source file (which is NOT the same as text.len() for PDF /
HTML — those backends transform the input).