SPDX-related functionality. Note: this namespace is not part of the public API of lice-comb and may change without notice.
SPDX-related 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.
(lice-comb-license-ref? id)
Is the given id one of lice-comb's custom LicenseRefs?
Is the given id one of lice-comb's custom LicenseRefs?
(name->unidentified)
(name->unidentified name)
Constructs a valid SPDX id (a LicenseRef specific to lice-comb) for an unidentified license, with the given name (if provided) appended as Base62 (since clj-spdx identifiers are limited to a small superset of Base62).
Constructs a valid SPDX id (a LicenseRef specific to lice-comb) for an unidentified license, with the given name (if provided) appended as Base62 (since clj-spdx identifiers are limited to a small superset of Base62).
(proprietary-commercial)
Constructs a valid SPDX id (a LicenseRef specific to lice-comb) representing a proprietary / commercial license.
Constructs a valid SPDX id (a LicenseRef specific to lice-comb) representing a proprietary / commercial license.
(proprietary-commercial? id)
Is the given id lice-comb's custom 'proprietary / commercial' LicenseRef?
Is the given id lice-comb's custom 'proprietary / commercial' LicenseRef?
(public-domain)
Constructs a valid SPDX id (a LicenseRef specific to lice-comb) representing public domain.
Constructs a valid SPDX id (a LicenseRef specific to lice-comb) representing public domain.
(public-domain? id)
Is the given id lice-comb's custom 'public domain' LicenseRef?
Is the given id lice-comb's custom 'public domain' LicenseRef?
(unidentified->name id)
Get the original name of the given unidentified license. Returns nil if id is nil or is not a lice-comb unidentified LicenseRef.
Get the original name of the given unidentified license. Returns nil if id is nil or is not a lice-comb unidentified LicenseRef.
(unidentified? id)
Is the given id a lice-comb custom 'unidentified' LicenseRef?
Is the given id a lice-comb custom 'unidentified' LicenseRef?
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close