(create-temp-diretory!)
Creates a new readable/writable directory and returns its name as a java.io.File
. Throws an
exception if the temp directory could not be created.
Creates a new readable/writable directory and returns its name as a `java.io.File`. Throws an exception if the temp directory could not be created.
(merge-docmeta var refvar)
Add the values for keys :doc
and :arglists
from refvar
to the
meta of var
.
Add the values for keys `:doc` and `:arglists` from `refvar` to the meta of `var`.
(side-effecting! f)
Returns argument after applying presumably side-effectful f
to it.
Returns argument after applying presumably side-effectful `f` to it.
(uuid)
Returns a random UUID as a string.
Returns a random UUID as a string.
(with-temp-directory! [dir & {:keys [keep-files?]}] & body)
Evaluates body
with dir
bound to a newly created, readable and writable directory. Upon exit
all files and directories in the temp directory are deleted unless keep-files?
has a truthy
value.
Evaluates `body` with `dir` bound to a newly created, readable and writable directory. Upon exit all files and directories in the temp directory are deleted unless `keep-files?` has a truthy value.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close