regexpExclude uses regular expressions to tell if a file/path should be excluded.
| 14 | // regexpExclude uses regular expressions to tell if a file/path should be |
| 15 | // excluded. |
| 16 | type regexpExclude struct { |
| 17 | exclusions []string |
| 18 | regex *regexp.Regexp |
| 19 | } |
| 20 | |
| 21 | // ShouldExclude will return a boolean denoting whether or not the path should |
| 22 | // be excluded based on the given slice of exclusions. |
nothing calls this directly
no outgoing calls
no test coverage detected