Documentation ¶
Overview ¶
Package result provides the result type for ignore matching. This is a separate package in order to break import cycles.
Index ¶
Constants ¶
View Source
const Ignored = ignoreBit
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type R ¶
type R uint8
func (R) IsCaseFolded ¶
IsCaseFolded returns true if the result was a case-insensitive match.
func (R) IsDeletable ¶
IsDeletable returns true if the result is ignored and deletable.
func (R) ToggleIgnored ¶
ToggleIgnored returns a copy of the result with the ignored bit toggled.
func (R) WithDeletable ¶
WithDeletable returns a copy of the result with the deletable bit set.
func (R) WithFoldCase ¶
WithFoldCase returns a copy of the result with the fold case bit set.
Click to show internal directories.
Click to hide internal directories.