Skip to main content

extension_for_mime

Function extension_for_mime 

Source
fn extension_for_mime(mime: &str) -> Option<&'static str>
Expand description

The extension to give an archive entry, without the leading dot. None for a mime type we have no confident extension for, including application/octet-stream.