Returns a map describing the environment known to clj/clojure: {:config-files [ ... ]}.
DEPRECATED - use (reader/default-deps) instead!
Returns a map describing the environment known to clj/clojure: {:config-files [ ... ]}. DEPRECATED - use (reader/default-deps) instead!
(default-deps)
Use the same logic as clj to build the set of deps.edn files to load. These can be passed to read-deps to replicate what clj does.
Use the same logic as clj to build the set of deps.edn files to load. These can be passed to read-deps to replicate what clj does.
(install-deps)
Read the install deps.edn resource from the classpath
Read the install deps.edn resource from the classpath
Resource path to the install deps.edn resource
Resource path to the install deps.edn resource
(merge-deps deps-maps)
Merge multiple deps maps from left to right into a single deps map.
Merge multiple deps maps from left to right into a single deps map.
(read-deps deps-files)
Read the built-in clojure/tools/deps/deps.edn resource, and a set of deps-files, and merge them left to right into a single deps map.
Read the built-in clojure/tools/deps/deps.edn resource, and a set of deps-files, and merge them left to right into a single deps map.
(slurp-deps dep-file)
Read a single deps.edn file from disk and canonicalize symbols, return a deps map.
Read a single deps.edn file from disk and canonicalize symbols, return a deps map.
(user-deps-location)
Use the same logic as clj to return the expected location of the user config path. Note that it's possible no file may exist at this location.
Use the same logic as clj to return the expected location of the user config path. Note that it's possible no file may exist at this location.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close