mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:27:45 +00:00
LibCore: Return StringView from guess_mime_type_based_on_filename method
This commit is contained in:
parent
2428ba3832
commit
e77b110541
2 changed files with 24 additions and 24 deletions
|
@ -48,7 +48,7 @@ private:
|
|||
HashMap<DeprecatedString, ByteBuffer> m_data;
|
||||
};
|
||||
|
||||
DeprecatedString guess_mime_type_based_on_filename(StringView);
|
||||
StringView guess_mime_type_based_on_filename(StringView);
|
||||
|
||||
Optional<DeprecatedString> guess_mime_type_based_on_sniffed_bytes(ReadonlyBytes);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue