Liking cljdoc? Tell your friends :D

clj-toolbox.files


abs-pathclj

(abs-path path)

Returns a string representing the absolute path of the given path

Returns a string representing the absolute path of the given path
sourceraw docstring

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

create-temp-fileclj

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

dir-exists?clj

(dir-exists? d)
source

f!+clj

source

f+clj

source

file-exists?clj

(file-exists? filename)
source

file-last-modifiedcljdeprecated

(file-last-modified filename)
source

file-mkdircljdeprecated

(file-mkdir filename)

Equivalent to mkdir <filename>

Equivalent to mkdir <filename>
sourceraw docstring

file-mkdirscljdeprecated

(file-mkdirs filename)

Equivalent to mkdir -p <filename>

Equivalent to mkdir -p <filename>
sourceraw docstring

last-modifiedclj

(last-modified filename)
source

mkdirclj

(mkdir filename)

Equivalent to mkdir <filename>

Equivalent to mkdir <filename>
sourceraw docstring

mkdirsclj

(mkdirs filename)

Equivalent to mkdir -p <filename>

Equivalent to mkdir -p <filename>
sourceraw docstring

path->dirnameclj

(path->dirname path)

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

Gets the dirname from a path
Assumes unix-style paths e.g. foo/bar/baz.conf
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

temp-dirclj

source

temp-fileclj

source

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

× close