1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:27:45 +00:00

file: Use the mime-type description provided by LibCore

This allows us to get rid of another mime-type list in the codebase.

To do so, the `get_description_from_mime_type` function is introduced in
this patch.
This commit is contained in:
Lucas CHOLLET 2023-07-11 19:03:23 -04:00 committed by Sam Atkins
parent c543a13835
commit 15bd708cfd
3 changed files with 35 additions and 57 deletions

View file

@ -61,4 +61,6 @@ struct MimeType {
u64 offset { 0 };
};
Optional<StringView> get_description_from_mime_type(StringView);
}