Versions in this module Expand all Collapse all v1 v1.2.0 Apr 24, 2026 Changes in this version + var ErrInvalidPattern = errors.New("invalid exclude pattern") + type Matcher struct + func New(rules []string, sourceRoot string) (*Matcher, error) + func (m *Matcher) Match(filePath string) bool + func (m *Matcher) MatchRule(filePath string) (bool, string)