Liking cljdoc? Tell your friends :D

utilis.fs


cpclj

(cp src
    dest
    &
    {:keys [overwrite copy-attributes]
     :or {overwrite true copy-attributes true}})

directory?clj

(directory? path)

ensure-temp-dircljmacro

(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.
raw docstring

file?clj

(file? path)

image?clj

(image? path)

lsclj

(ls path & {:keys [recursive]})

mime-typeclj

(mime-type path)

mkdirclj

(mkdir path & {:keys [recursive]})

mvclj

(mv src dest & {:keys [overwrite] :or {overwrite true}})

rmclj

(rm path & {:keys [recursive]})

truncateclj

(truncate path)

video?clj

(video? path)

with-tempcljmacro

(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.
raw docstring

working-directoryclj

(working-directory)

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

× close