any{} NewPattern returns a Pattern from the ordered slice of Tokens. The tokens are assumed to represent a well-formed .gitignore pattern. A Pattern may be negated, anchored to the start of the path (relative to the base directory of tie containing .gitignore), or match directories only.
(tokens []*Token)
source not stored for this graph (policy: none)