determine_content_type

Function determine_content_type 

Source
fn determine_content_type(
    path: &Path,
    mime_type: &str,
    content: &ExtractedContent,
) -> ContentType
Expand description

Determine content type from path, MIME type, and extracted content.