1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 15:07:44 +00:00

Userland: Implement a file utility

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.
This commit is contained in:
Valtteri Koskivuori 2021-05-03 21:49:11 +03:00 committed by Linus Groh
parent cf5f3a9874
commit 8b2706e5bb
2 changed files with 99 additions and 0 deletions

View file

@ -56,3 +56,4 @@ target_link_libraries(gzip LibCompress)
target_link_libraries(gunzip LibCompress)
target_link_libraries(CppParserTest LibCpp LibGUI)
target_link_libraries(PreprocessorTest LibCpp LibGUI)
target_link_libraries(file LibGfx LibIPC)