(delete-file file)
deletes file recursively
deletes file recursively
(delete-file-parent file)
calls delete-file on parent of file
calls delete-file on parent of file
(file-list file)
returns a vector of files found in file (a folder)
returns a vector of files found in file (a folder)
(files-partial-match files filename)
given a vector of files, returns a vector of files whos names match filename
given a vector of files, returns a vector of files whos names match filename
(host-port-listening? ip n)
returns true if a host at ip is listing on port n
returns true if a host at ip is listing on port n
(resource-as-file resource)
returns a temp file containing resource
returns a temp file containing resource
(resource-as-folder-child resource)
returns a file (in a tmp folder) with the same name as resource
returns a file (in a tmp folder) with the same name as resource
(tmp-file)
returns a tmp file File object
returns a tmp file File object
(tmp-folder)
returns a tmp folder File object
returns a tmp folder File object
(touch-tmp name)
creates a file named name in a tmp dir
creates a file named name in a tmp dir
(with-tmp-file file & body)
executes body and insures the file is deleted
executes body and insures the file is deleted
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close