aboutsummaryrefslogtreecommitdiff
path: root/license_type.go
diff options
context:
space:
mode:
authorChristopher Schmidt <crschmidt@google.com>2018-10-10 14:30:39 -0400
committerChristopher Schmidt <crschmidt@google.com>2018-10-10 14:57:15 -0400
commite979a0b10eebe748549c702a25e997c556349da6 (patch)
tree70d1d7ebd7266afa4e22b4a7902f10fc4fabca40 /license_type.go
parent8e2157f318eb490b192a4a5c1e3b8870e024e5ca (diff)
downloadlicenseclassifier-e979a0b10eebe748549c702a25e997c556349da6.tar.gz
Add Commons Clause detection, and add to list of restricted licenses.
PiperOrigin-RevId: 216563868
Diffstat (limited to 'license_type.go')
-rw-r--r--license_type.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/license_type.go b/license_type.go
index b7003a2..431e61a 100644
--- a/license_type.go
+++ b/license_type.go
@@ -89,6 +89,7 @@ const (
CCBYSA40 = "CC-BY-SA-4.0"
CDDL10 = "CDDL-1.0"
CDDL11 = "CDDL-1.1"
+ CommonsClause = "Commons-Clause"
CPAL10 = "CPAL-1.0"
CPL10 = "CPL-1.0"
eGenix = "eGenix"
@@ -336,6 +337,7 @@ var (
CCBYNCSA25,
CCBYNCSA30,
CCBYNCSA40,
+ CommonsClause,
Facebook2Clause,
Facebook3Clause,
FacebookExamples,