Liking cljdoc? Tell your friends :D

utilis.fs


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

rmclj

(rm path & {:keys [recursive]})
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

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

× close