Liking cljdoc? Tell your friends :D

org.soulspace.clj.file


absolute-fileclj

(absolute-file file)

Returns the file as absolute file.

Returns the file as absolute file.
raw docstring

absolute-pathclj

(absolute-path file)

Returns the absolute path of the file.

Returns the absolute path of the file.
raw docstring

all-filesclj

(all-files file)

Returns a sequence of the files in a directory given as file and its sub directories. If the given file is not a directory, it is returned as only file in the sequence.

Returns a sequence of the files in a directory given as file and its sub directories.
If the given file is not a directory, it is returned as only file in the sequence.
raw docstring

all-files-by-extensionclj

(all-files-by-extension ext file)

Returns a sequence of the files with the extension ext in a directory given as file and its sub directories. If the given file is not a directory, it is returned as only file in the sequence.

Returns a sequence of the files with the extension ext in a directory given as file and its sub directories.
If the given file is not a directory, it is returned as only file in the sequence.
raw docstring

all-files-by-patternclj

(all-files-by-pattern pattern file)

Returns a sequence of the files that match the pattern in a directory given as file and its sub directories. If the given file is not a directory, it is returned as only file in the sequence.

Returns a sequence of the files that match the pattern in a directory given as file and its sub directories.
If the given file is not a directory, it is returned as only file in the sequence.
raw docstring

base-nameclj

(base-name file)

Returns the name of the file.

Returns the name of the file.
raw docstring

build-absolute-pathclj

(build-absolute-path dir filename)
(build-absolute-path dir filename extension)

Returns the absolute path of the file defined by the given directory, filename (and extension).

Returns the absolute path of the file defined by the given directory, filename (and extension).
raw docstring

build-pathclj

(build-path files)
(build-path sep files)

Build a path by joining the given files with the separator or ':' as default.

Build a path by joining the given files with the separator or ':' as default.
raw docstring

build-searchpathclj

(build-searchpath pathnames)

canonical-fileclj

(canonical-file file)

Returns the canonical file of the file.

Returns the canonical file of the file.
raw docstring

canonical-pathclj

(canonical-path file)

Returns the canonical path of the file.

Returns the canonical path of the file.
raw docstring

create-dirclj

(create-dir file)

Creates a directory including missing parent directories.

Creates a directory including missing parent directories.
raw docstring

delete-dirclj

(delete-dir file)

Deletes the directory and any subdirectories.

Deletes the directory and any subdirectories.
raw docstring

delete-fileclj

(delete-file file)

Deletes the file.

Deletes the file.
raw docstring

directory-searcherclj

(directory-searcher filename)
(directory-searcher filename extension)

Returns a function that takes a directory and returns the file specified by filename (and extension).

Returns a function that takes a directory and returns the file specified by filename (and extension).
raw docstring

executable?clj

(executable? file)

Returns true, if the given file is executable.

Returns true, if the given file is executable.
raw docstring

existing-filesclj

(existing-files dirs)
(existing-files ext dirs)

Returns all existing files (with the specified extension) in the given directories.

Returns all existing files (with the specified extension) in the given directories.
raw docstring

existing-files-by-patternclj

(existing-files-by-pattern pattern dirs)

existing-files-on-pathclj

(existing-files-on-path dir-path)
(existing-files-on-path ext dir-path)

Returns all existing files (with the specified extension) on the given path.

Returns all existing files (with the specified extension) on the given path.
raw docstring

exists?clj

(exists? file)

Returns true, if the given file exists.

Returns true, if the given file exists.
raw docstring

file-locatorclj

(file-locator searchpath)
(file-locator searchpath ext)

Returns a function that locates a file by name on the search path.

Returns a function that locates a file by name on the search path.
raw docstring

file-nameclj

(file-name file)

Returns the name of the file.

Returns the name of the file.
raw docstring

filesclj

(files file)

Returns a sequence of the files in a directory given as file. If the given file is not a directory, it is returned as only file in the sequence.

Returns a sequence of the files in a directory given as file.
If the given file is not a directory, it is returned as only file in the sequence.
raw docstring

has-extension?clj

(has-extension? ext file)

Returns true if the path of the file ends with the given extension.

Returns true if the path of the file ends with the given extension.
raw docstring

is-dir?clj

(is-dir? file)

Returns true, if the given file exists and is a directory.

Returns true, if the given file exists and is a directory.
raw docstring

is-file?clj

(is-file? file)

Returns true, if the given file exists and is a directory.

Returns true, if the given file exists and is a directory.
raw docstring

locate-fileclj

(locate-file searchpath filename)
(locate-file searchpath filename extension)

Returns the first existing file on the search path for the specified filename (and extension).

Returns the first existing file on the search path for the specified filename (and extension).
raw docstring

matches?clj

(matches? pattern file)

Returns true if the path of the file matches the given pattern.

Returns true if the path of the file matches the given pattern.
raw docstring

normalize-pathclj

(normalize-path path)

Returns the normalized path (unix convention) of the path.

Returns the normalized path (unix convention) of the path.
raw docstring

normalized-pathclj

(normalized-path file)

Returns the normalized path (unix convention) of the file.

Returns the normalized path (unix convention) of the file.
raw docstring

parent-dirclj

(parent-dir file)

Returns the parent dir of the file if it exists.

Returns the parent dir of the file if it exists.
raw docstring

parent-pathclj

(parent-path file)

Returns the parent path for the file if it exists.

Returns the parent path for the file if it exists.
raw docstring

pathclj

(path file)

Returns the path of the file.

Returns the path of the file.
raw docstring

path-patternclj

(path-pattern ant-pattern)

readable?clj

(readable? file)

Returns true, if the given file is readable.

Returns true, if the given file is readable.
raw docstring

relative-pathclj

(relative-path base-path file)

Returns the path of the file relative to the base-path.

Returns the path of the file relative to the base-path.
raw docstring

split-pathclj

(split-path paths)
(split-path sep paths)

Split a path string with the given separator or ':' as default.

Split a path string with the given separator or ':' as default.
raw docstring

writeable?clj

(writeable? file)

Returns true, if the given file is writeable.

Returns true, if the given file is writeable.
raw docstring

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

× close