Match matches patterns in the order of priorities. As soon as an inclusion or exclusion is found, not further matching is performed.
(path []string, isDir bool)
| 9 | // Match matches patterns in the order of priorities. As soon as an inclusion or |
| 10 | // exclusion is found, not further matching is performed. |
| 11 | Match(path []string, isDir bool) bool |
| 12 | } |
| 13 | |
| 14 | // NewMatcher constructs a new global matcher. Patterns must be given in the order of |
no outgoing calls