Manipulate file names (is not influenced at all by your local configuration).
Manipulate file names (is not influenced at all by your local configuration).
(absolutize relative-path)
Returns the absolute path of relative-path
(file or dir).
Returns the absolute path of `relative-path` (file or dir).
(change-extension file-name new-extension)
Turns filename
extension into new-extension
.
Turns `filename` extension into `new-extension`.
(create-dir-path & dirs)
Creates a path with the list of parameters. Removes the empty strings, add needed separators, including the trailing ones
Creates a path with the list of parameters. Removes the empty strings, add needed separators, including the trailing ones
(create-file-path & dirs)
Creates a path for which each element of dirs
is a subdirectory.
Creates a path for which each element of `dirs` is a subdirectory.
Symbol to separate directories.
Is usually /
on linux based OS And \
on windows based ones
Symbol to separate directories. Is usually `/` on linux based OS And `\` on windows based ones
(extract-path filename)
Extract the directory path to the filename
.
Extract the directory path to the `filename`.
(filename full-path)
Returns the filename of a path.
Returns the filename of a path.
(is-absolute? path)
Returns true if path
is an absolute directory.
Returns true if `path` is an absolute directory.
(match-extension? filename & extensions)
Returns true if the filename
match the at least one of the extensions
.
Returns true if the `filename` match the at least one of the `extensions`.
(relativize path root-dir)
Turn the path
into a relative directory starting from root-dir
Turn the `path` into a relative directory starting from `root-dir`
(remove-trailing-separator path)
If exists, remove the trailing separator in a path, remove unwanted spaces either
If exists, remove the trailing separator in a path, remove unwanted spaces either
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close