Liking cljdoc? Tell your friends :D

spdx.licenses

License list functionality, primarily provided by org.spdx.library.model.license.ListedLicenses.

License list functionality, primarily provided by org.spdx.library.model.license.ListedLicenses.
raw docstring

fsf-libre-idsclj

(fsf-libre-ids)
(fsf-libre-ids ids)

Returns the set of SPDX license identifiers that identify FSF Libre licenses within the provided set of SPDX license identifiers (or all of them, if not provided). See https://github.com/spdx/license-list-XML/blob/main/DOCS/license-fields.md for more details about what this means exactly.

Returns the set of SPDX license identifiers that identify FSF Libre licenses
within the provided set of SPDX license identifiers (or all of them, if not
provided). See https://github.com/spdx/license-list-XML/blob/main/DOCS/license-fields.md
for more details about what this means exactly.
sourceraw docstring

id->infoclj

(id->info id)

Returns license information for the given identifier as a map, or nil if there isn't one (e.g. the id is nil or invalid).

Returns license information for the given identifier as a map, or nil if
there isn't one (e.g. the id is nil or invalid).
sourceraw docstring

idsclj

(ids)

The set of all license ids.

The set of all license ids.
sourceraw docstring

init!clj

(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.
sourceraw docstring

listed-id?clj

(listed-id? id)

Is the given id one of the listed SPDX license identifiers?

Is the given id one of the listed SPDX license identifiers?
sourceraw docstring

non-deprecated-idsclj

(non-deprecated-ids)
(non-deprecated-ids ids)

Returns the set of license ids that identify current (non-deprecated) licenses within the provided set of SPDX license identifiers (or all of them, if not provided).

Returns the set of license ids that identify current (non-deprecated)
licenses within the provided set of SPDX license identifiers (or all of them,
if not provided).
sourceraw docstring

osi-approved-idsclj

(osi-approved-ids)
(osi-approved-ids ids)

Returns the set of SPDX license identifiers that identify OSI approved licenses within the provided set of SPDX license identifiers (or all of them, if not provided).

Returns the set of SPDX license identifiers that identify OSI approved
licenses within the provided set of SPDX license identifiers (or all of them,
if not provided).
sourceraw docstring

versionclj

(version)

The version of the license list (a String in major.minor format).

Note: identical to spdx.exceptions/version.

The version of the license list (a String in major.minor format).

Note: identical to spdx.exceptions/version.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close