Liking cljdoc? Tell your friends :D

utilis.fs


cpclj

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

directory?clj

(directory? path)
source

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.
sourceraw docstring

file?clj

(file? path)
source

image?clj

(image? path)
source

lsclj

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

mime-typeclj

(mime-type path)
source

mkdirclj

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

mvclj

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

rmclj

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

truncateclj

(truncate path)
source

video?clj

(video? path)
source

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.
sourceraw docstring

working-directoryclj

(working-directory)
source

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

× close