Liking cljdoc? Tell your friends :D

spdx.exceptions

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

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

addition-ref?clj

(addition-ref? id)

Is id an AdditionRef?

Is `id` an `AdditionRef`?
sourceraw 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

id->infoclj

(id->info id)

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

Returns SPDX exception list information for `id` as a map, or `nil` if `id`
is not a valid SPDX exception id.
sourceraw docstring

idsclj

(ids)

The set of all exception ids.

The set of all exception 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

listed-id?clj

(listed-id? id)

Is id one of the listed SPDX exception ids?

Is `id` one of the listed SPDX exception ids?
sourceraw docstring

non-deprecated-idsclj

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

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

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

versionclj

(version)

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

Note: identical to spdx.licenses/version.

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

Note: identical to [[spdx.licenses/version]].
sourceraw docstring

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

× close