(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
(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
(children path)Returns the paths of the children of the given path as a vector of strings If path is not an existing directory, this function throws a FileNotFoundException
Returns the paths of the children of the given path as a vector of strings If path is not an existing directory, this function throws a FileNotFoundException
(file-mkdir filename)Equivalent to mkdir <filename>
Equivalent to mkdir <filename>
(file-mkdirs filename)Equivalent to mkdir -p <filename>
Equivalent to mkdir -p <filename>
(mkdir filename)Equivalent to mkdir <filename>
Equivalent to mkdir <filename>
(mkdirs filename)Equivalent to mkdir -p <filename>
Equivalent to mkdir -p <filename>
(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
(path->ext path)Gets the extension from a path
Gets the extension from a path
(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
(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
(read-all f)Reads all Clojure forms from file {f}
Reads all Clojure forms from file {f}
(size path)Returns the size of the file or nil if the file does not exist
Returns the size of the file or nil if the file does not exist
(strip-ext path)Strips the extension from a path
Strips the extension from a path
(temp-dir & {:keys [prefix] :or {prefix ""}})Creates a new temporary direction with optional prefix
Creates a new temporary direction with optional prefix
(temp-file & {:keys [prefix suffix] :or {prefix "" suffix ""}})Creates a new temporary file with optional prefix and suffix
Creates a new temporary file with optional prefix and suffix
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |