Liking cljdoc? Tell your friends :D

makejack.api.path

Path manipulation functions

Path manipulation functions
raw docstring

as-fileclj

(as-file path-like)

Coercionscljprotocol

as-pathclj

(as-path x)

Coerce argument to a Path.

Coerce argument to a Path.

filenameclj

(filename path-like)

Return the filename segment of the given path as a Path.

Return the filename segment of the given path as a Path.
raw docstring

pathclj

(path path-like)
(path parent child)
(path parent child & more)

Return a java.nio.file.Path, passing each argument to as-path.

Multiple-arg versions treat the first argument as parent and subsequent args as children relative to the parent.

Return a java.nio.file.Path, passing each argument to as-path.

Multiple-arg versions treat the first argument as parent and subsequent args as
children relative to the parent.
raw docstring

path-with-extensionclj

(path-with-extension path-like extension)

Return the path with extension added to it. The extension is a string, including any required dot.

Return the path with extension added to it.
The extension is a string, including any required dot.
raw docstring

path?clj

(path? x)

Predicate for x being a Path object.

Predicate for x being a Path object.
raw docstring

relative-toclj

(relative-to root)

Return a function that will return its argument path relative to the given root.

Return a function that will return its argument path relative to the given root.
raw docstring

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

× close