class Magic::Magic

Defined in:

magic/magic.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(flags : Int32 = LibMagic::Flags::MIME, db_path : String | Nil = nil) #

[View source]

Class Method Detail

def self.get_mime_type(path : String) #

[View source]

Instance Method Detail

def close #

[View source]
def closed? : Bool #

[View source]
def error : String #

[View source]
def file(path : String) : String #

[View source]