(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.
(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.
(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.
(get-arch)
Returns a keyword naming the host architecture
Returns a keyword naming the host architecture
(get-os)
Returns a keyword naming the host OS.
Returns a keyword naming the host OS.
(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.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close