(cp src
dest
&
{:keys [overwrite copy-attributes]
:or {overwrite true copy-attributes true}})
(ensure-temp-dir & body)
Create temporary directory in os-appropriate location. Useful when body code expects it to be available for file-caching but is running in a scratch container. The temporary directory is deleted when exiting scope.
Create temporary directory in os-appropriate location. Useful when body code expects it to be available for file-caching but is running in a scratch container. The temporary directory is deleted when exiting scope.
(with-temp bindings & body)
bindings => [name [name "<file-name>"] ...] Evaluates body name(s) bound to temporary java.io.File objects in a location appropriate for the operating system. The temporary files are deleted when exiting scope.
bindings => [name [name "<file-name>"] ...] Evaluates body name(s) bound to temporary java.io.File objects in a location appropriate for the operating system. The temporary files are deleted when exiting scope.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close