Sha256: a7d2ac9b3368f086594d5686955246d521e593c1dbe2e69ee1b491838e6b846c

Contents?: true

Size: 983 Bytes

Versions: 14

Compression:

Stored size: 983 Bytes

Contents

=begin

= FileMagic extension module SEE ALSO libmagic(3), file(1) and magic(4)
== FileMagic
=== Constants
: MAGIC_NONE
     No flags
: MAGIC_DEBUG
     Turn on debuggin
: MAGIC_SYMLINK
     Follow symlinks
: MAGIC_COMPRESS
     Check inside compressed files
: MAGIC_DEVICES
     Look at the contents of devices
: MAGIC_MIME
     Return a mime string
: MAGIC_CONTINUE
     Return all matches, not just the first
: MAGIC_CHECK
     Print warnings to stderr

=== Methods
: file(filename)
    returns a textual description of the contents of the filename argument
: buffer(string)
    returns a textual description of the contents of the string argument
: check(filename)
    checks the validity of entries in the colon separated database files
    passed in as filename
: compile(filename)
    compile the the colon separated list of database files passed in as
    filename
: close()
    closes the magic database and frees any memory allocated. if memory
    is a concern, use this.

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
ruby-filemagic-0.6.1 info/filemagic.rd
blackwinter-ruby-filemagic-0.2.1 info/filemagic.rd
ricardochimal-ruby-filemagic-0.1.1 filemagic.rd
ricardochimal-ruby-filemagic-0.1.2 filemagic.rd
ruby-filemagic-0.6.0 info/filemagic.rd
ruby-filemagic-0.5.2 info/filemagic.rd
ruby-filemagic-0.5.1 info/filemagic.rd
ruby-filemagic-0.5.0 info/filemagic.rd
ruby-filemagic-0.4.2 info/filemagic.rd
ruby-filemagic-0.4.1 info/filemagic.rd
ruby-filemagic-0.4.0 info/filemagic.rd
ruby-filemagic-0.3.0 info/filemagic.rd
ruby-filemagic-0.2.2 info/filemagic.rd
ruby-filemagic-0.2.1 info/filemagic.rd