Liking cljdoc? Tell your friends :D

clj-toolbox.files


abs-path-joinclj

(abs-path-join & paths)

Returns a string representing the absolute path of the paths joined

Returns a string representing the absolute path of the paths joined
sourceraw docstring

create-temp-dirclj

(create-temp-dir & {:keys [prefix] :or {prefix ""}})
source

dir-exists?clj

(dir-exists? d)
source

file-exists?clj

(file-exists? filename)
source

file-last-modifiedclj

(file-last-modified filename)
source

file-mkdirclj

(file-mkdir filename)

Equivalent to mkdir <filename>

Equivalent to mkdir <filename>
sourceraw docstring

file-mkdirsclj

(file-mkdirs filename)

Equivalent to mkdir -p <filename>

Equivalent to mkdir -p <filename>
sourceraw docstring

path->extclj

(path->ext path)

Gets the extension from a path

Gets the extension from a path
sourceraw docstring

path->filenameclj

(path->filename path)

Gets the filename from a path Assumes unix-style paths e.g. foo/bar/baz.conf

Gets the filename from a path
Assumes unix-style paths e.g. foo/bar/baz.conf
sourceraw docstring

path-joinclj

(path-join & paths)

Returns a string representing the paths joined Return values differ based on platform

Returns a string representing the paths joined
Return values differ based on platform
sourceraw docstring

read-allclj

(read-all f)

Reads all Clojure forms from file {f}

Reads all Clojure forms from file {f}
sourceraw docstring

strip-extclj

(strip-ext path)

Strips the extension from a path

Strips the extension from a path
sourceraw docstring

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

× close