Documentation
¶
Overview ¶
Package match implements the -type glob filtering: parsing the comma-separated pattern list and testing a type name against it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchAny ¶
MatchAny reports whether name matches any glob pattern (path.Match syntax). An empty name (anonymous struct) never matches a non-empty pattern set; invalid patterns are treated as non-matching rather than fatal.
func ParsePatterns ¶
ParsePatterns splits a comma-separated value into trimmed, non-empty glob patterns. Empty input yields nil (meaning "match everything").
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.