Commit Graph

2 Commits (e07d089be0f214117e160753a3f06f13a4e5e35b)

Author SHA1 Message Date
Gusted 3ece9d5794
Simplify `IsVendor` ()
The changes in this file were upstreamed directly into go-enry as https://github.com/go-enry/go-enry/pull/44
and therefore they are no longer needed.
zeripath ff460ca74d
Speed up `enry.IsVendor` ()
`enry.IsVendor` is kinda slow as it simply iterates across all regexps.
This PR ajdusts the regexps to combine them to make this process a
little quicker.

Related 

Signed-off-by: Andrew Thornton <art27@cantab.net>