### Home Classes Methods

### In Files

- lib/magic/constants.rb

### Class/Module Index

Quicksearch

- Magic
- Magic::Constants
- Magic::Constants::Flag
- Magic::Database
- Magic::Exception

No matching classes.

# Magic::Constants::Flag

### Constants

APPLE

  Return the Apple creator and type

CHECK

  Print warnings to stderr

COMPRESS

  Check inside compressed files

CONTINUE

  Return all matches

DEBUG

  Turn on debugging

DEVICES

  Look at the contents of devices

ERROR

  Handle ENOENT etc as real errors

MIME

  Return the MIME "type; charset=encoding"

MIME_ENCODING

  Return the MIME encoding

MIME_TYPE

  Return the MIME type

NONE

  No flags

NO_CHECK_APPTYPE

  Don't check application type

NO_CHECK_CDF

  Don't check for cdf files

NO_CHECK_COMPRESS

  Don't check for compressed files

NO_CHECK_ELF

  Don't check for elf details

NO_CHECK_ENCODING

  Don't check text encodings

NO_CHECK_SOFT

  Don't check magic entries

NO_CHECK_TAR

  Don't check for tar files

NO_CHECK_TEXT

  Don't check for text files

NO_CHECK_TOKENS

  Don't check tokens

PRESERVE_ATIME

  Restore access time on exit

RAW

  Don't translate unprintable chars

SYMLINK

  Follow symlinks

[Validate]

Generated with the Darkfish Rdoc Generator 2.