Liking cljdoc? Tell your friends :D

clojure.tools.deps.alpha.extensions


canonicalizecljmultimethod

Takes a lib and coordinate and returns a canonical form. For example, a Maven coordinate might resolve LATEST to a version or a Git coordinate might resolve a partial sha to a full sha. Returns [lib coord].

Takes a lib and coordinate and returns a canonical form.
For example, a Maven coordinate might resolve LATEST to a version or a Git
coordinate might resolve a partial sha to a full sha. Returns [lib coord].
sourceraw docstring

compare-versionscljmultimethod

Given two coordinates, use this as a comparator returning a negative number, zero, or positive number when coord-x is logically 'less than', 'equal to', or 'greater than' coord-y. The dispatch occurs on the type of x and y.

Given two coordinates, use this as a comparator returning a negative number, zero,
or positive number when coord-x is logically 'less than', 'equal to', or 'greater than'
coord-y. The dispatch occurs on the type of x and y.
sourceraw docstring

coord-depscljmultimethod

Return coll of immediate [lib coord] external deps for this library.

Return coll of immediate [lib coord] external deps for this library.
sourceraw docstring

coord-pathscljmultimethod

Return coll of classpath roots for this library on disk.

Return coll of classpath roots for this library on disk.
sourceraw docstring

coord-summarycljmultimethod

Takes a coord, and returns a concise description, used when printing tree

Takes a coord, and returns a concise description, used when printing tree
sourceraw docstring

coord-typeclj

(coord-type coord)

The namespace (as a keyword) of the only qualified key in the coordinate, excluding the reserved deps namespace.

The namespace (as a keyword) of the only qualified key in the coordinate,
excluding the reserved deps namespace.
sourceraw docstring

dep-idcljmultimethod

Returns an identifier value that can be used to detect a lib/coord cycle while expanding deps. This will only be called after canonicalization so it can rely on the canonical form.

Returns an identifier value that can be used to detect a lib/coord cycle while
expanding deps. This will only be called after canonicalization so it can rely
on the canonical form.
sourceraw docstring

detect-manifestclj

(detect-manifest dir)

Given a directory, detect the manifest type and return the manifest info.

Given a directory, detect the manifest type and return the manifest info.
sourceraw docstring

lib-locationcljmultimethod

Takes a coordinate and returns the location where the lib would be installed locally. Location keys:

:base local repo base directory path :path path within base dir :type coordinate type

Takes a coordinate and returns the location where the lib would be
installed locally. Location keys:

:base     local repo base directory path
:path     path within base dir
:type     coordinate type
sourceraw docstring

manifest-typecljmultimethod

Takes a lib, a coord, and the root config. Dispatch based on the coordinate type. Detect and return the manifest type and location for this coordinate.

Takes a lib, a coord, and the root config. Dispatch based on the
coordinate type. Detect and return the manifest type and location
for this coordinate.
sourceraw docstring

manifest-typesclj

source

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

× close