Skip to main content

image_type

Function image_type 

Source
pub fn image_type(path: &str) -> Option<&'static str>
Expand description

The image Content-Type for a repository path, by its extension.