magic
This package provides a Haskell interface to the C libmagic library. With it, you can determine the type of a file by examining its contents rather than its name. The Haskell interface provides a full-featured binding.
Note: this package requires the C libmagic library (part of the file
package) and its development headers to be installed at build time.
Modules