(deps-read-project)
(deps-read-project file)
like read-project
but for deps.edn'
(keys (deps-read-project (io/file "example/deps.edn"))) => (just [:description :license :name :source-paths :test-paths :documentation :root :url :version :dependencies] :in-any-order)
like `read-project` but for deps.edn' (keys (deps-read-project (io/file "example/deps.edn"))) => (just [:description :license :name :source-paths :test-paths :documentation :root :url :version :dependencies] :in-any-order)
(escape-dollars s)
for regex purposes, escape dollar signs in templates
for regex purposes, escape dollar signs in templates
(filter-pred pred? m)
filters values of a map that fits the predicate (filter-pred string? {:a "valid" :b 0}) => {:a "valid"}
filters values of a map that fits the predicate (filter-pred string? {:a "valid" :b 0}) => {:a "valid"}
(full-path path base project)
constructs a path from a project
(full-path "example/file.clj" "src" {:root "/home/user"}) => "/home/user/src/example/file.clj"
constructs a path from a project (full-path "example/file.clj" "src" {:root "/home/user"}) => "/home/user/src/example/file.clj"
(read-project)
(read-project file)
like leiningen.core.project/read
but with less features'
(keys (read-project (io/file "example/project.clj"))) => (just [:description :license :name :source-paths :test-paths :documentation :root :url :version :dependencies] :in-any-order)
like `leiningen.core.project/read` but with less features' (keys (read-project (io/file "example/project.clj"))) => (just [:description :license :name :source-paths :test-paths :documentation :root :url :version :dependencies] :in-any-order)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close