Liking cljdoc? Tell your friends :D

cprop.tools


cloakclj/s

(cloak m & paths)
source

contains-in?clj/s

(contains-in? m k-path)

checks whether the nested key exists in a map

checks whether the nested key exists in a map
sourceraw docstring

deep-merge-withclj/s

(deep-merge-with f & maps)

Like merge-with, but merges maps recursively, appling the given fn only when there's a non-map at a particular level. (deepmerge + {:a {:b {:c 1 :d {:x 1 :y 2}} :e 3} :f 4} {:a {:b {:c 2 :d {:z 9} :z 3} :e 100}}) -> {:a {:b {:z 3, :c 3, :d {:z 9, :x 1, :y 2}}, :e 103}, :f 4}

Like merge-with, but merges maps recursively, appling the given fn
only when there's a non-map at a particular level.
(deepmerge + {:a {:b {:c 1 :d {:x 1 :y 2}} :e 3} :f 4}
             {:a {:b {:c 2 :d {:z 9} :z 3} :e 100}})
-> {:a {:b {:z 3, :c 3, :d {:z 9, :x 1, :y 2}}, :e 103}, :f 4}
sourceraw docstring

expand-homeclj/s

(expand-home path)

If path begins with a tilde (~), expand the tilde to the value of the user.home system property. If the path begins with a tilde immediately followed by some characters, they are assumed to be a username. This is expanded to the path to that user's home directory. This is (naively) assumed to be a directory with the same name as the user relative to the parent of the current value of user.home.

If `path` begins with a tilde (`~`), expand the tilde to the value
of the `user.home` system property. If the `path` begins with a
tilde immediately followed by some characters, they are assumed to
be a username. This is expanded to the path to that user's home
directory. This is (naively) assumed to be a directory with the same
name as the user relative to the parent of the current value of
`user.home`.
sourceraw docstring

homeclj/s

(home)
(home user)

With no arguments, returns the current value of the user.home system property. If a user is passed, returns that user's home directory. It is naively assumed to be a directory with the same name as the user located relative to the parent of the current value of user.home.

With no arguments, returns the current value of the `user.home` system
property. If a `user` is passed, returns that user's home directory. It
is naively assumed to be a directory with the same name as the `user`
located relative to the parent of the current value of `user.home`.
sourceraw docstring

in-debug?clj/s

(in-debug?)
source

key->envclj/s

(key->env k)
source

key->propclj/s

(key->prop k)
source

(link connect from [to value])
source

map->env-fileclj/s

(map->env-file m)
(map->env-file m opts)
source

map->propertiesclj/s

(map->properties m)

convert map to java.util.Properties preserving hierarchy

convert map to java.util.Properties preserving hierarchy
sourceraw docstring

map->props-fileclj/s

(map->props-file m)
(map->props-file m opts)
source

merge-mapsclj/s

(merge-maps & m)
source

temp-fileclj/s

(temp-file fname)
(temp-file fname ext)
source

to-envclj/s

(to-env [k v])
source

to-propclj/s

(to-prop [k v])
source

with-echoclj/s

(with-echo config resource path)
source

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

× close