Discover Packages
github.com/idelchi/go-gitignore
wildmatch
package
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Sep 1, 2025
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package wildmatch implements Git's wildmatch.c semantics in Go.
Match reports whether text matches pattern. If pathname==true, '/' is special
and only matched by '**' in special positions, never by '*' or '?'.
MatchOpt matches text against pattern with explicit options.
type WMOptions struct {
Pathname bool
CaseFold bool
}
WMOptions are options for MatchOpt.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.