Liking cljdoc? Tell your friends :D

clojure.repl.deps

clojure.repl.deps provides facilities for dynamically modifying the available libraries in the runtime when running at the REPL, without restarting

clojure.repl.deps provides facilities for dynamically modifying the available
libraries in the runtime when running at the REPL, without restarting
raw docstring

add-libclj

(add-lib lib)
(add-lib lib coord)

Given a lib that is not yet on the repl classpath, make it available by downloading the library if necessary and adding it to the classloader. Libs already on the classpath are not updated. Requires a valid parent DynamicClassLoader.

lib - symbol identifying a library, for Maven: groupId/artifactId coord - optional map of location information specific to the procurer, or latest if not supplied

Returns coll of libs loaded, including transitive (or nil if none).

For info on libs, coords, and versions, see: https://clojure.org/reference/deps_and_cli

Given a lib that is not yet on the repl classpath, make it available by
downloading the library if necessary and adding it to the classloader.
Libs already on the classpath are not updated. Requires a valid parent
DynamicClassLoader.

 lib - symbol identifying a library, for Maven: groupId/artifactId
 coord - optional map of location information specific to the procurer,
         or latest if not supplied

Returns coll of libs loaded, including transitive (or nil if none).

For info on libs, coords, and versions, see:
 https://clojure.org/reference/deps_and_cli
sourceraw docstring

add-libsclj

(add-libs lib-coords)

Given lib-coords, a map of lib to coord, will resolve all transitive deps for the libs together and add them to the repl classpath, unlike separate calls to add-lib.

Given lib-coords, a map of lib to coord, will resolve all transitive deps for the libs
together and add them to the repl classpath, unlike separate calls to add-lib.
sourceraw docstring

sync-depsclj

(sync-deps & {:as opts})

Calls add-libs with any libs present in deps.edn but not yet present on the classpath.

:aliases - coll of alias keywords to use during the sync

Calls add-libs with any libs present in deps.edn but not yet present on the classpath.

:aliases - coll of alias keywords to use during the sync
sourceraw docstring

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

× close