Liking cljdoc? Tell your friends :D

lice-comb.deps

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

dep->expressionsclj

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

dep->expressions-infocljmultimethod

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

dep->pom-uriclj

(dep->pom-uri dep)

Returns a java.net.URI that points to the pom for the given tools.dep dep (a MapEntry or two-element vector of ['groupId/artifactId dep-info]), or nil if the dep is not a Maven dep, or a POM could not be found. The returned URI is guaranteed to be resolvable - either to a file that exists in the local Maven cache, or to an HTTP-accessible resource on a remote Maven repository (i.e. Maven Central or Clojars) that resolves.

Returns a java.net.URI that points to the pom for the given tools.dep dep (a
MapEntry or two-element vector of `['groupId/artifactId dep-info]`), or nil if
the dep is not a Maven dep, or a POM could not be found.  The returned URI is
guaranteed to be resolvable - either to a file that exists in the local Maven
cache, or to an HTTP-accessible resource on a remote Maven repository (i.e.
Maven Central or Clojars) that resolves.
sourceraw docstring

deps-expressionsclj

(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).
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

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

× close