Liking cljdoc? Tell your friends :D

hydrox.common.util


escape-dollarsclj

(escape-dollars s)

for regex purposes, escape dollar signs in templates

for regex purposes, escape dollar signs in templates
sourceraw docstring

filter-predclj

(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"}
sourceraw docstring

full-pathclj

(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"
sourceraw docstring

read-projectclj

(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)
sourceraw docstring

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

× close