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

deprecated-id?clj

(deprecated-id? id)

Is id deprecated?

See this SPDX FAQ item for details on what this means.

Is `id` deprecated?

See [this SPDX FAQ item](https://github.com/spdx/license-list-XML/blob/main/DOCS/faq.md#what-does-it-mean-when-a-license-id-is-deprecated)
for details on what this means.
sourceraw docstring

fsf-libre-id?clj

(fsf-libre-id? id)

Is id FSF Libre? Returns nil if id is unlisted, or FSF Libre status is undefined in the SPDX license list.

See this reference for details about what 'FSF Libre' means.

Is `id` FSF Libre?  Returns `nil` if `id` is unlisted, or FSF Libre status is
undefined in the SPDX license list.

See [this reference](https://github.com/spdx/license-list-XML/blob/main/DOCS/license-fields.md)
for details about what 'FSF Libre' means.
sourceraw docstring

fsf-libre-idsclj

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

Returns the set of SPDX license ids that identify FSF Libre licenses within the provided set of SPDX license ids (or all of them, if ids is not provided).

See this reference for details about what 'FSF Libre' means.

Returns the set of SPDX license ids that identify FSF Libre licenses within
the provided set of SPDX license ids (or all of them, if `ids` is not
provided).

See [this reference](https://github.com/spdx/license-list-XML/blob/main/DOCS/license-fields.md)
for details about what 'FSF Libre' means.
sourceraw docstring

id->infoclj

(id->info id)

Returns SPDX license list information for id as a map, or nil if id is not a valid SPDX license id.

Returns SPDX license list information for `id` as a map, or `nil` if `id` is
not a valid SPDX license id.
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 may have 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 may have a substantial performance cost.
sourceraw docstring

license-ref?clj

(license-ref? id)

Is id a LicenseRef?

Is `id` a `LicenseRef`?
sourceraw docstring

listed-id?clj

(listed-id? id)

Is id one of the listed SPDX license identifiers?

Is `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 ids (or all of them, if ids is not provided).

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

osi-approved-id?clj

(osi-approved-id? id)

Is id OSI Approved? Returns nil if id is unlisted, or OSI Approval is undefined in the SPDX license list for this license id.

See this reference for details about what 'OSI Approved' means.

Is `id` OSI Approved?  Returns `nil` if `id` is unlisted, or OSI Approval is
undefined in the SPDX license list for this license id.

See [this reference](https://github.com/spdx/license-list-XML/blob/main/DOCS/license-fields.md)
for details about what 'OSI Approved' means.
sourceraw docstring

osi-approved-idsclj

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

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

See this reference for details about what 'OSI Approved' means.

Returns the set of SPDX license ids that identify OSI Approved licenses
within the provided set of SPDX license ids (or all of them, if `ids` is not
provided).

See [this reference](https://github.com/spdx/license-list-XML/blob/main/DOCS/license-fields.md)
for details about what 'OSI Approved' means.
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