Liking cljdoc? Tell your friends :D
Clojure only.

alpha-ini.core


read-iniclj

(read-ini in
          &
          {:keys [keywordize? trim? allow-comments-anywhere? comment-char]
           :or {keywordize? true
                trim? true
                allow-comments-anywhere? true
                comment-char \;}})

Read an .ini-file into a Clojure map.

Valid options are:

  • keywordize? (default true): Turn segments and property-keys into keywords
  • trim? (default true): trim segments, keys and values
  • allow-comments-anywhere? (default true): Comments can appear anywhere, and not only at the beginning of a line
  • comment-char (default ;)
Read an .ini-file into a Clojure map.

Valid options are:

- keywordize? (default true): Turn segments and property-keys into
  keywords
- trim? (default true): trim segments, keys and values
- allow-comments-anywhere? (default true): Comments can appear
  anywhere, and not only at the beginning of a line
- comment-char (default \;)
raw docstring

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

× close