Skip to content
Snippets Groups Projects
Antonio Terceiro's avatar
Antonio Terceiro authored
81383fbc
History

magic

Ruby FFI wrapper to the “magic” library, that determines content type and encoding of files and strings. The library does three types of tests: filesystem tests, magic number tests, and language tests. The first test that succeeds causes the file type to be returned.

Installation and Usage

See project page for details.

Links

Copyright

Copyright © 2010 Jakub Kuźma. See LICENSE for details.