Skip to content
Sections
>> Trisquel >> Packages >> aramo >> ruby >> ruby-magic
etiona  ] [  nabia  ] [  aramo  ]
[ Source: ruby-magic  ]

Package: ruby-magic (0.2.9-2)

Ruby FFI bindings to libmagic

This package provides a Ruby FFI wrapper to the "magic" library that determines content type and encoding of files and strings. The library does three types of tests: file system tests, magic number tests, and language tests. The first test that succeeds causes the file type to be returned.

Other Packages Related to ruby-magic

  • depends
  • recommends
  • suggests
  • dep: libmagic1
    Recognize the type of data in a file using "magic" numbers - library
  • dep: ruby-ffi (>= 0.6.3)
    load dynamic libraries, bind functions from within ruby code

Download ruby-magic

Download for all available architectures
Architecture Package Size Installed Size Files
all 6.6 kB32 kB [list of files]