[ 源代码: ruby-magic ]
软件包:ruby-magic(0.2.9-4)
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.
其他与 ruby-magic 有关的软件包
|
|
|
|
-
- dep: libmagic-dev
- 使用“魔数”识别文件中的数据类型 - 开发文件
-
- dep: ruby-ffi (>= 0.6.3)
- load dynamic libraries, bind functions from within ruby code