Skip to main content

normalize_ext

Function normalize_ext 

Source
pub fn normalize_ext(ext: &str) -> Result<&'static str>
Expand description

Normalize an extension to lowercase ASCII without a leading dot, or reject anything outside the whitelist.