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

Struct pattern

internal/gitignore/pattern.go:42–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42type pattern struct {
43 domain []string
44 pattern []string
45 inclusion bool
46 dirOnly bool
47 isGlob bool
48}
49
50// ParsePattern parses a gitignore pattern string into the Pattern structure.
51func ParsePattern(p string, domain []string) Pattern {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected