Liking cljdoc? Tell your friends :D

gorp.core


count-byclj

(count-by f coll)

file-extclj

(file-ext x)

get-shapeclj

(get-shape x)
(get-shape x {:keys [dedupe?] :as opts})

For some nested coll, print out data types, keeping keys as is.

Pass in :dedupe? to vectors and lists are deduped by shape

For some nested coll, print out data types, keeping keys
as is.

Pass in :dedupe? to vectors and lists are deduped by shape
raw docstring

list-filesclj

(list-files root-fp)
(list-files root-fp glob)

pprint-shapeclj

(pprint-shape input)
(pprint-shape input opts)

read-edn-fileclj

(read-edn-file fp)

read-fileclj

(read-file fp)
(read-file fp opts)

read-filesclj

(read-files root-fp regex-str)

Attempts to read all files in some dir Ex. (read-files "my-dir" ".*.clj")

Attempts to read all files in some dir
Ex. (read-files "my-dir" ".*.clj")
raw docstring

read-json-fileclj

(read-json-file fp)

read-strcljmultimethod


run-or-cachedclj

(run-or-cached {:keys [cache-fp cache-on-nil? force-run? read-file-opts
                       write-file-opts]
                :or {cache-on-nil? true}}
               f)

Either return data read from a file or run f, save to file and return f's ret

Either return data read from a file or run f, save to file and return f's ret
raw docstring

try-read-fileclj

(try-read-file fp)
(try-read-file fp read-file-opts)

write-edn-fileclj

(write-edn-file fp x)

write-fileclj

(write-file fp x)
(write-file fp x opts)

write-json-fileclj

(write-json-file fp x)

Write some json object as json file

Write some json object as json file
raw docstring

write-strcljmultimethod

(write-str x opts)

Generate str from clj data

Generate str from clj data
raw docstring

write-txt-fileclj

(write-txt-file fp s)

Dump unformatted value into a file

Dump unformatted value into a file
raw docstring

write-xml-fileclj

(write-xml-file fp x)

Writes enlive formatted xml map as xml file

Writes enlive formatted xml map as xml file
raw docstring

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

× close