Functionality related to combing tools.deps dependency maps and lib maps for license information.
Functionality related to combing tools.deps dependency maps and lib maps for license information.
(dep->expressions dep)
Returns a set of SPDX expressions (Strings) for the given tools.dep dep (a
MapEntry or two-element vector of ['groupId/artifactId dep-info-map]
), or
nil if no expressions were found.
Returns a set of SPDX expressions (Strings) for the given tools.dep dep (a MapEntry or two-element vector of `['groupId/artifactId dep-info-map]`), or nil if no expressions were found.
(dep->expressions-info [ga info])
Returns an expressions-info map for the given tools.dep dep (a MapEntry or
two-element vector of ['groupId/artifactId dep-info]
), or nil if no
expressions were found.
Returns an expressions-info map for the given tools.dep dep (a MapEntry or two-element vector of `['groupId/artifactId dep-info]`), or nil if no expressions were found.
(deps-expressions deps)
Takes a tools.dep lib map and returns a new lib map with an expressions-info
map assoc'ed into each dep's info map, in key :lice-comb/license-info
.
If no license information was found for a given dep, the lib map entry for
that dep will be returned unchanged (it will not have the
:lice-comb/license-info
key in the info map).
Takes a tools.dep lib map and returns a new lib map with an expressions-info map assoc'ed into each dep's info map, in key `:lice-comb/license-info`. If no license information was found for a given dep, the lib map entry for that dep will be returned unchanged (it will not have the `:lice-comb/license-info` key in the info map).
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close