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

Method path

parser.go:186–208  ·  view source on GitHub ↗

negation() path attempts to build a well-formed .gitignore Pattern representing a path specification, starting with the Token t. If the sequence of tokens returned by the Lexer does not represent a valid Pattern, path returns an Error. Trailing whitespace is dropped from the sequence of pattern toke

(t *Token)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

buildMethod · 0.95

Calls 2

sequenceMethod · 0.95
NewPatternFunction · 0.85

Tested by

no test coverage detected