Skip to main content

kind_of_path

Function kind_of_path 

Source
pub fn kind_of_path(path: &str) -> FileKind
Expand description

What a file holds by its extension: a still for image formats the host decodes, sound for audio-only formats, video otherwise. Formats read by extension providers (animated GIF, SVG, OpenEXR) are not guessed.