Liking cljdoc? Tell your friends :D

io.randomseed.bankster.util.fs


absolute-path?clj

(absolute-path? pathname)
source

default-encodingclj

Default encoding for input files.

Default encoding for input files.
sourceraw docstring

empty-str-aryclj

source

get-java-classpath-foldersclj

(get-java-classpath-folders)

Lists all directories which exist in Java classpath as a sequence of strings. Returns nil if there are none.

Lists all directories which exist in Java classpath as a sequence of
strings. Returns nil if there are none.
sourceraw docstring

get-resourceclj

(get-resource pname)

For the given pathname, returns the resource URL if the path exists. If the path does not exist, returns nil.

For the given pathname, returns the resource URL if the path exists. If the path
does not exist, returns nil.
sourceraw docstring

home-dir-pathnameclj

(home-dir-pathname)
(home-dir-pathname & paths)

For the given pathnames creates a pathname expressed as a string by prefixing them with user's home directory obtained from the Java property user.dir with all parts joined using current path name separator.

For the given pathnames creates a pathname expressed as a string by prefixing them
with user's home directory obtained from the Java property `user.dir` with all parts
joined using current path name separator.
sourceraw docstring

integer-string?clj

(integer-string? s)

Returns true if string contains valid integer number.

Returns true if string contains valid integer number.
sourceraw docstring

paths->resourceclj

(paths->resource)
(paths->resource & paths)

For the given pathnames creates a resource object that resides within one of the Java resource directories. The resource must exist for the URI to be returned.

For the given pathnames creates a resource object that resides within one of the
Java resource directories. The resource must exist for the URI to be returned.
sourceraw docstring

prop-pathnameclj

(prop-pathname prop)
(prop-pathname prop paths)

For the given Java property name and optional path names creates a path name expressed as a string by prefixing them with the directory obtained from a property with all parts joined using pathname separator.

For the given Java property name and optional path names creates a path name
expressed as a string by prefixing them with the directory obtained from a
property with all parts joined using pathname separator.
sourceraw docstring

read-csvclj

(read-csv resource)

Reads CSV file and returns a lazy sequence of rows.

Reads CSV file and returns a lazy sequence of rows.
sourceraw docstring

read-preferencesclj

(read-preferences filename)
(read-preferences filename opts)

Reads the given preference file. If the path is relative it will be relative to user's home directory. Optional options map will be passed to EDN reader.

Reads the given preference file. If the path is relative it will be relative to
user's home directory. Optional options map will be passed to EDN reader.
sourceraw docstring

relative-path?clj

source

resource-pathnameclj

(resource-pathname)
(resource-pathname & paths)

For the given pathnames creates a pathname expressed as a string that resides within one of the Java resource directories. The path must exist to be returned. WARNING: it will only work for resources on a filesystem, giving you the regular pathname, not URI.

For the given pathnames creates a pathname expressed as a string that resides within
one of the Java resource directories. The path must exist to be returned. WARNING:
it will only work for resources on a filesystem, giving you the regular pathname,
not URI.
sourceraw docstring

rtrim-commentsclj

(rtrim-comments s)
source

user-dir-pathnameclj

(user-dir-pathname)
(user-dir-pathname & paths)

For the given pathnames creates a pathname expressed as a string by prefixing them with user's directory (typically a project directory) obtained from the Java property user.dir with all parts joined using current path name separator.

For the given pathnames creates a pathname expressed as a string by prefixing them
with user's directory (typically a project directory) obtained from the Java
property `user.dir` with all parts joined using current path name separator.
sourceraw docstring

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

× close