Liking cljdoc? Tell your friends :D

pallet.config-file.format

Some standard file formating.

Some standard file formating.
raw docstring

name-valuesclj

(name-values m
             &
             {:keys [separator value-formatter]
              :or {separator " " value-formatter str}})

A property file. The properties are written "key value", one per line. m a key-value map :separator chars separator to use between key and value (default is a single space) :value-formatter function used to format values to strings

A property file.
The properties are written "key value", one per line.
  m                   a key-value map
  :separator chars    separator to use between key and value
                      (default is a single space)
  :value-formatter    function used to format values to strings
sourceraw docstring

sectioned-propertiesclj

(sectioned-properties m
                      &
                      {:keys [separator value-formatter]
                       :or {separator " = " value-formatter str}})

A sectioned property file. This is modeled as a map of maps. The keys of the outer map are the section names. The inner maps are keyword value maps.

Options: :separator chars separator to use between key and value (default is a single space) :value-formatter function used to format values to strings

A sectioned property file.
This is modeled as a map of maps. The keys of the outer map are the section
names.  The inner maps are keyword value maps.

Options:
  :separator chars    separator to use between key and value
                      (default is a single space)
  :value-formatter    function used to format values to strings
sourceraw docstring

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

× close