Liking cljdoc? Tell your friends :D

spdx.matching

License matching functionality, primarily provided by org.spdx.utility.compare.LicenseCompareHelper.

License matching functionality, primarily provided by org.spdx.utility.compare.LicenseCompareHelper.
raw docstring

exceptions-within-textclj

(exceptions-within-text text)
(exceptions-within-text text exception-ids)

Returns the set of ids for all exceptions found in the given text (optionally from the provided set of exception ids), or nil if none were found.

Note: this method has a substantial performance cost. Callers are encouraged to break their ids into batches and call the 2-arg version with each batch in parallel (e.g. using clojure.core/pmap), then merge the results.

Returns the set of ids for all exceptions found in the given text (optionally
from the provided set of exception ids), or nil if none were found.

Note: this method has a substantial performance cost. Callers are encouraged
to break their ids into batches and call the 2-arg version with each batch
in parallel (e.g. using `clojure.core/pmap`), then merge the results.
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.

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

licenses-within-textclj

(licenses-within-text text)
(licenses-within-text text license-ids)

Returns the set of ids for all licenses found in the given text (optionally from the provided list of license ids), or nil if none were found.

Note: this method has a substantial performance cost. Callers are encouraged to break their ids into batches and call the 2-arg version with each batch in parallel (e.g. using clojure.core/pmap), then merge the results.

Returns the set of ids for all licenses found in the given text (optionally
from the provided list of license ids), or nil if none were found.

Note: this method has a substantial performance cost. Callers are encouraged
to break their ids into batches and call the 2-arg version with each batch
in parallel (e.g. using `clojure.core/pmap`), then merge the results.
sourceraw docstring

text-contains-exception?clj

(text-contains-exception? text exception-id)

Does the text contain the exception somewhere within it?

Does the text contain the exception somewhere within it?
sourceraw docstring

text-contains-license?clj

(text-contains-license? text license-id)

Does the text contain the license somewhere within it?

Does the text contain the license somewhere within it?
sourceraw docstring

text-is-exception?clj

(text-is-exception? text exception-id)

Does the entire text match the exception?

Does the entire text match the exception?
sourceraw docstring

text-is-license?clj

(text-is-license? text license-id)

Does the entire text match the license?

Does the entire text match the license?
sourceraw docstring

texts-equivalent-exceptions?clj

(texts-equivalent-exceptions? text1 text2)

Do the two texts represent equivalent exceptions?

Do the two texts represent equivalent exceptions?
sourceraw docstring

texts-equivalent-licenses?clj

(texts-equivalent-licenses? text1 text2)

Do the two texts represent equivalent licenses?

Do the two texts represent equivalent licenses?
sourceraw docstring

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

× close