Liking cljdoc? Tell your friends :D

automaton-build.os.filename

Manipulate file names (is not influenced at all by your local configuration).

Manipulate file names (is not influenced at all by your local configuration).
raw docstring

absolutizeclj

(absolutize relative-path)

Returns the absolute path of relative-path (file or dir).

Returns the absolute path of `relative-path` (file or dir).
raw docstring

change-extensionclj

(change-extension file-name new-extension)

Turns filename extension into new-extension.

Turns `filename` extension into `new-extension`.
raw docstring

create-dir-pathclj

(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
raw docstring

create-file-pathclj

(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.
raw docstring

directory-separatorclj

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
raw docstring

extract-pathclj

(extract-path filename)

Extract the directory path to the filename.

Extract the directory path to the `filename`.
raw docstring

filenameclj

(filename full-path)

Returns the filename of a path.

Returns the filename of a path.
raw docstring

is-absolute?clj

(is-absolute? path)

Returns true if path is an absolute directory.

Returns true if `path` is an absolute directory.
raw docstring

match-extension?clj

(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`.
raw docstring

parentclj

(parent path)

Returns the parent of path.

Returns the parent of `path`.
raw docstring

relativizeclj

(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`
raw docstring

remove-trailing-separatorclj

(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
raw docstring

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

× close