(apply-restrictions! {:keys [restrictions] :as user-profiles} account request)
(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.
(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.
(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
(env)
(env var)
(env var default)
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.
(homedir)
returns the current home dir or nil if not found
returns the current home dir or nil if not found
(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.
(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
(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
(nil-value-keys map)
Returns keys which have a nil value
Returns keys which have a nil value
(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
(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
(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
(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.
(user-profiles)
loads the user-profiles.edn if present.
loads the user-profiles.edn if present.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close