Documentation ¶
Index ¶
Constants ¶
View Source
const MaxLevels = 32
MaxLevels is the maximum level of magic rules that are interpreted
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InterpretContext ¶
InterpretContext holds state for the interpreter
func (*InterpretContext) Identify ¶
func (ctx *InterpretContext) Identify(sr *wizutil.SliceReader) ([]string, error)
Identify follows the rules in a spellbook to find out the type of a file
Click to show internal directories.
Click to hide internal directories.