View Source Majic.Result (Majic v1.1.1)
Represents the results obtained from libmagic.
Please note that this struct is only returned if the underlying check has succeeded.
Summary
Types
Represents the result.
Contains the MIME type, Encoding and Content fields returned by libmagic, as per the flags:
- MIME Type:
MAGIC_FLAGS_COMMON|MAGIC_MIME_TYPE
- Encoding:
MAGIC_FLAGS_COMMON|MAGIC_MIME_ENCODING
- Type Name (Content):
MAGIC_FLAGS_COMMON|MAGIC_NONE