mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 16:06:16 +01:00
1c177ce0ab
This detects zero-sized files to return the special-case "application/x-zerosize" mime-type, as well as trying to differentiate unknown file types based on their first 128 bytes of data, so that text editors can automatically handle unknown text files. Based on: https://cgit.freedesktop.org/xdg/xdgmime/commit/?id=5181175d5fdaa3832b0fd094cda0120b1fe92af6 https://cgit.freedesktop.org/xdg/xdgmime/commit/?id=9c5802b8da56187c5c6abaf70042d14b12d832a9 https://bugzilla.gnome.org/show_bug.cgi?id=795544 |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile.am | ||
meson.build | ||
xdgmime.c | ||
xdgmime.h | ||
xdgmimealias.c | ||
xdgmimealias.h | ||
xdgmimecache.c | ||
xdgmimecache.h | ||
xdgmimeglob.c | ||
xdgmimeglob.h | ||
xdgmimeicon.c | ||
xdgmimeicon.h | ||
xdgmimeint.c | ||
xdgmimeint.h | ||
xdgmimemagic.c | ||
xdgmimemagic.h | ||
xdgmimeparent.c | ||
xdgmimeparent.h |