Matching helper functionality. Note: this namespace is not part of the public API of lice-comb and may change without notice.
Matching helper functionality. Note: this namespace is not part of the public API of lice-comb and may change without notice.
(init!)
Initialises this namespace upon first call (and does nothing on subsequent calls), returning nil. Consumers of this namespace are not required to call this fn, as initialisation will occur implicitly anyway; it is provided to allow explicit control of the cost of initialisation to callers who need it.
Note: this method has a substantial performance cost.
Initialises this namespace upon first call (and does nothing on subsequent calls), returning nil. Consumers of this namespace are not required to call this fn, as initialisation will occur implicitly anyway; it is provided to allow explicit control of the cost of initialisation to callers who need it. Note: this method has a substantial performance cost.
(manual-fixes ids)
Manually fix certain invalid combinations of license identifiers in a set or map.
Manually fix certain invalid combinations of license identifiers in a set or map.
(name->expressions-info name)
Returns an expressions-info map for the given license name.
Returns an expressions-info map for the given license name.
(split-on-operators s)
Case insensitively splits a string based on license operators (and, or, with), but only if they're not also part of a license name (e.g. 'Common Development and Distribution License', 'GNU General Public License version 2.0 or (at your option) any later version', etc.).
Case insensitively splits a string based on license operators (and, or, with), but only if they're not also part of a license name (e.g. 'Common Development and Distribution License', 'GNU General Public License version 2.0 or (at your option) any later version', etc.).
(text->ids text)
Returns an expressions-map for the given license text, or nil if no matches are found.
Returns an expressions-map for the given license text, or nil if no matches are found.
(uri->ids uri)
Returns an expressions-map for the given license uri, or nil if no matches are found.
Returns an expressions-map for the given license uri, or nil if no matches are found.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close