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

Method sequence

parser.go:213–236  ·  view source on GitHub ↗

path() sequence attempts to extract a well-formed Token sequence from the Lexer representing a .gitignore Pattern. sequence returns an Error if the retrieved sequence of tokens does not represent a valid Pattern.

(t *Token)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

negationMethod · 0.95
pathMethod · 0.95

Calls 5

separatorMethod · 0.95
anyMethod · 0.95
patternMethod · 0.95
undoMethod · 0.95
errMethod · 0.95

Tested by

no test coverage detected