Liking cljdoc? Tell your friends :D

cambada.utils


compiled-classes-path

(compiled-classes-path out-path)
source

delete-file-recursively

(delete-file-recursively f & [silently])

Delete file f. If it's a directory, recursively delete all its contents. Raise an exception if any deletion fails unless silently is true.

Delete file f. If it's a directory, recursively delete all its contents.
Raise an exception if any deletion fails unless silently is true.
sourceraw docstring

dir-string

(dir-string file)

Returns the file's directory as a string, or the string representation of the file itself if it is a directory.

Returns the file's directory as a string, or the string representation of the
file itself if it is a directory.
sourceraw docstring

directory-name

(directory-name)
source

full-path

(full-path file path)

Appends the path string with a '/' if the file is a directory.

Appends the path string with a '/' if the file is a directory.
sourceraw docstring

get-arch

(get-arch)

Returns a keyword naming the host architecture

Returns a keyword naming the host architecture
sourceraw docstring

get-os

(get-os)

Returns a keyword naming the host OS.

Returns a keyword naming the host OS.
sourceraw docstring

mkdirs

(mkdirs f)

Make a given directory and its parents, but throw an Exception on failure.

Make a given directory and its parents, but throw an Exception on failure.
sourceraw docstring

real-directory?

(real-directory? f)

Returns true if this file is a real directory, false if it is a symlink or a normal file.

Returns true if this file is a real directory, false if it is a symlink or a
normal file.
sourceraw docstring

relativize-path

(relativize-path path root-path)

Relativizes a path: Removes the root-path of a path if not already removed.

Relativizes a path: Removes the root-path of a path if not already removed.
sourceraw docstring

symlink?

(symlink? file)

Checks if a File is a symbolic link or points to another file.

Checks if a File is a symbolic link or points to another file.
sourceraw docstring

unix-path

(unix-path path)
source

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

× close