⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

detect_mime_from_extension

Function detect_mime_from_extension 

Source
pub fn detect_mime_from_extension(ext: &str) -> MimeType
Expand description

Detect MIME type purely from file extension.

Performs case-insensitive comparison by checking both the original extension and an ASCII-lowercased copy.