Liking cljdoc? Tell your friends :D

gorillalabs.config


config-nameclj

(config-name env)
source

form-seqclj

(form-seq reader)

Lazy seq of forms read from a reader

Lazy seq of forms read from a reader
sourceraw docstring

initclj

(init & [env])
source

invoke-extensioncljmultimethod

An extension point for operations in config files.

An extension point for operations in config files.
sourceraw docstring

mapifyclj

(mapify form origin config)

Turns a form read from a config file at origin into a map.

Turns a form read from a config file at `origin` into a map.
sourceraw docstring

merge-configclj

(merge-config path config-forms)

Merges the configs read

Merges the configs read
sourceraw docstring

path-relative-toclj

(path-relative-to url other)

Given two paths p1 and p2, returns a path that is the combination of them. If p2 is absolute, p2 is returned. Otherwise p1/p2 is returned.

Given two paths `p1` and `p2`, returns a path that is the
combination of them. If `p2` is absolute, `p2` is returned.
Otherwise p1/p2 is returned.
sourceraw docstring

read-configclj

(read-config path)

Returns a map read from path. Map will be generated by merging all forms found in file. Lists are interpreted as invocations of the invoke-extension multimethod, dispatched on the symbol in the first position.

Example:

(include "something.edn") ;; Comments are ignored {:foo :bar :bar 1234}

Might yield:

{:foo :bar :from-something 4321 :bar 1234}

Returns a map read from `path`. Map will be generated by merging all
forms found in file. Lists are interpreted as invocations of the
`invoke-extension` multimethod, dispatched on the symbol in the
first position.

Example:

(include "something.edn")
;; Comments are ignored
{:foo :bar
 :bar 1234}

Might yield:

{:foo :bar
 :from-something 4321
 :bar 1234}
sourceraw docstring

with-configcljmacro

(with-config context-sym env & body)
source

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

× close