Class ExtMime#
Defined in File ExtMime.h
Class Documentation#
-
class ExtMime#
Helper to determine MIME type based on file extension.
Public Functions
-
ExtMime()#
-
~ExtMime()#
-
std::string getMimeType(const std::filesystem::path &filename) const#
Get the MIME type for a given filename based on extension.
- Parameters:
filename – - The given filename
- Returns:
The corresponding MIME type
-
ExtMime()#