Functionality related to combing Maven POMs for license information.
Functionality related to combing Maven POMs for license information.
(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.
(pom->expressions pom)
(pom->expressions pom filepath)
Returns a set of SPDX expressions (Strings) for the given POM file (an InputStream or something that can have an io/input-stream opened on it), or nil if no expressions were found.
If an InputStream is provided, it is the caller's responsibility to open and close it, and a filepath associated with the InputStream must be provided as the second parameter (it is optional for other types of input).
Returns a set of SPDX expressions (Strings) for the given POM file (an InputStream or something that can have an io/input-stream opened on it), or nil if no expressions were found. If an InputStream is provided, it is the caller's responsibility to open and close it, and a filepath associated with the InputStream *must* be provided as the second parameter (it is optional for other types of input).
(pom->expressions-info pom)
(pom->expressions-info pom filepath)
Returns an expressions-info map for the given POM file (an InputStream or something that can have an io/input-stream opened on it), or nil if no expressions were found.
If an InputStream is provided, it is the caller's responsibility to open and close it, and a filepath associated with the InputStream must be provided as the second parameter (it is optional for other types of input).
Returns an expressions-info map for the given POM file (an InputStream or something that can have an io/input-stream opened on it), or nil if no expressions were found. If an InputStream is provided, it is the caller's responsibility to open and close it, and a filepath associated with the InputStream *must* be provided as the second parameter (it is optional for other types of input).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close