Liking cljdoc? Tell your friends :D

com.brunobonacci.oneconfig.util


clean-mapclj

(clean-map map)

remove keys with nils

remove keys with nils
sourceraw docstring

comparable-versionclj

(comparable-version ver)

takes a 3-leg version number and returns a version string which it can be compared lexicographically and maintain it's semantic version ordering.

takes a 3-leg version number and returns a version string
which it can be compared lexicographically and maintain it's semantic
version ordering.
sourceraw docstring

(configuration-file-search)

It searches configuration files in a number of different locations. it returns a list of entries or nil if no configuration files are found.

It searches configuration files in a number of different locations.
it returns a list of entries or nil if no configuration files are found.
sourceraw docstring

decodecljmultimethod

source

encodecljmultimethod

source

entry-recordclj

(entry-record entry)

Given an internal entry, it returns only the keys which are public

Given an internal entry, it returns only the keys which are public
sourceraw docstring

envclj

(env)
(env var)

Returns the value of a environment variable or a map with the all variables.

Returns the value of a environment variable or a map with the all variables.
sourceraw docstring

file-exists?clj

(file-exists? f)
source

filename->content-typeclj

(filename->content-type file)
source

homedirclj

(homedir)

returns the current home dir or nil if not found

returns the current home dir or nil if not found
sourceraw docstring

lazy-mapcatclj

(lazy-mapcat f coll)

maps a function over a collection and lazily concatenate all the results.

maps a function over a collection and
lazily concatenate all the results.
sourceraw docstring

list-entriesclj

(list-entries filters entries)
source

list-filesclj

(list-files dir)
(list-files pattern dir & {:keys [as-string] :or {as-string false}})

Returns a lazy list of files and directories for a given path and reg-ex

Returns a lazy list of files and directories for a given path and reg-ex
sourceraw docstring

log-configure-requestcljmacro

(log-configure-request in & body)

logs the what was requested to configure and it was returned

logs the what was requested to configure and it was returned
sourceraw docstring

marshall-valueclj

(marshall-value {:keys [content-type] :as config-entry})
source

parse-propertiesclj

(parse-properties properties)
source

properties->strclj

(properties->str properties)
source

read-config-fileclj

(read-config-file file)
source

read-edn-fileclj

(read-edn-file file)

reads a EDN file and returns its content or nil if invalid

reads a EDN file and returns its content or nil if invalid
sourceraw docstring

read-fileclj

(read-file file)

reads a file and returns its content as a string or nil if not found or can't be read

reads a file and returns its content as a string or nil if not found or can't be read
sourceraw docstring

sem-verclj

(sem-ver ver)

Returns a vector of the numerical components of a 3-leg version number. eg:

 (sem-ver "1.2.3") ;;=> [1 2 3]
 (sem-ver "1.2-alpha") ;;=> nil
Returns a vector of the numerical components of a 3-leg version number.
eg:

     (sem-ver "1.2.3") ;;=> [1 2 3]
     (sem-ver "1.2-alpha") ;;=> nil

sourceraw docstring

show-stacktrace!!cljmacro

(show-stacktrace!! show & body)
source

system-propertyclj

(system-property)
(system-property property)

Returns the value of a system property or a map with all properties.

Returns the value of a system property or a map with all properties.
sourceraw docstring

unmarshall-valueclj

(unmarshall-value {:keys [content-type] :as config-entry})
source

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

× close