google / licensecheck

The licensecheck package classifies license files and heuristically determines how well they correspond to known open source licenses.
BSD 3-Clause "New" or "Revised" License
452 stars 75 forks source link

add Checker API, make scans 7X faster, more #14

Closed rsc closed 4 years ago

rsc commented 4 years ago

See individual commits for descriptions.

rsc commented 4 years ago

One interesting question: should we drop the ok bool from the Cover method result? It seems to be redundant with len(cov.Match) == 0 or cov.Percent == 0.

jba commented 4 years ago

One interesting question: should we drop the ok bool from the Cover method result? It seems to be redundant with len(cov.Match) == 0 or cov.Percent == 0.

I would be in favor.