MCPcopy Create free account
hub / github.com/denormal/go-gitignore / compile

Method compile

pattern.go:102–122  ·  view source on GitHub ↗

NewPattern() compile generates a specific Pattern (i.e. name, path or any) represented by the list of tokens.

(tokens []*Token)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

NewPatternFunction · 0.95

Calls 3

anyMethod · 0.95
pathMethod · 0.95
nameMethod · 0.95

Tested by

no test coverage detected