Thread-local directory context for resolving relative directories. Defaults to current directory. Should always hold an absolute directory java.io.File, never null.
Thread-local directory context for resolving relative directories. Defaults to current directory. Should always hold an absolute directory java.io.File, never null.
(merge-config-maps config-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-config-maps config-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.
(read-edn reader)
Read the edn file from the specified reader
.
This file should contain a single edn value. Empty files return nil.
The reader will be read to EOF and closed.
Read the edn file from the specified `reader`. This file should contain a single edn value. Empty files return nil. The reader will be read to EOF and closed.
(slurp-config-map f)
Read f
specified by the path-segments, slurp it, and read it as edn.
Read `f` specified by the path-segments, slurp it, and read it as edn.
(user-location filename)
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