Age | Commit message (Collapse) | Author |
|
Before file would output 'text/html' when the path was a directory.
|
|
This patch adds 13 new detectable file formats, which are as follows in
alphabetical order:
.blend, .isz, ext* filesystem, Lua bytecode, Matroska container, NES
ROM, .pdf, qcow image, .rtf, WebAssembly bytecode, Windows 3.1X/95
compressed archive and raw zlib stream
Some are a tad esoteric, but the more file types we detect, the more
useful this utility becomes! :^)
|
|
Second batch of detectable formats, this time with verious offsets, as
enabled by the previous commit.
This adds tar, and the three signature variants for iso-9660 image
files.
|
|
This adds gzip, sqlite, 7-Zip, flac and midi.
|
|
...and make it an enum class so people don't omit "OpenMode".
|
|
|
|
- Improve naming
- Order alphabetically
- Remove duplicates
|
|
|
|
Instead just remember that a file failed to open, carry on and return 1
at the end.
|
|
|
|
|
|
This unix classic attempts to classify and identify information about
given files based on various heuristics. In this case, we're relying on
the Core::MimeData detector for file type and LibGfx::ImageDecoder for
additional metadata if the given file is an image.
It's very simple for now, but adding new detectors should be quite easy.
|