(count-by f coll)
(file-ext x)
(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
(list-files root-fp)
(list-files root-fp glob)
(pprint-shape input)
(pprint-shape input opts)
(read-edn-file fp)
(read-file fp)
(read-file fp opts)
(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")
(read-json-file fp)
(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
(try-read-file fp)
(try-read-file fp read-file-opts)
(write-edn-file fp x)
(write-file fp x)
(write-file fp x opts)
(write-json-file fp x)
Write some json object as json file
Write some json object as json file
(write-str x opts)
Generate str from clj data
Generate str from clj data
(write-txt-file fp s)
Dump unformatted value into a file
Dump unformatted value into a file
(write-xml-file fp x)
Writes enlive formatted xml map as xml file
Writes enlive formatted xml map as xml file
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close