Documentation
¶
Index ¶
Constants ¶
View Source
const Filename = ".commitbriefignore"
Variables ¶
This section is empty.
Functions ¶
func BuiltinPatterns ¶
func BuiltinPatterns() []string
Types ¶
type Matcher ¶
type Matcher struct {
// contains filtered or unexported fields
}
func (*Matcher) MatchParts ¶ added in v0.9.0
MatchParts is the same logical predicate as Match but accepts an already-split `[]string` path. Use this when the caller already has the parts (e.g. diff.Filter has FileDiff.PathParts populated at parse time) to skip the per-call strings.Split allocation.
Click to show internal directories.
Click to hide internal directories.