MCPcopy Create free account
hub / github.com/go-task/task / matcher

Struct matcher

internal/gitignore/matcher.go:22–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22type matcher struct {
23 patterns []Pattern
24}
25
26func (m *matcher) Match(path []string, isDir bool) bool {
27 n := len(m.patterns)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected