Liking cljdoc? Tell your friends :D

duckling.resource


dir?clj

(dir? filename)

Whether filename is a directory.

Whether filename is a directory.
sourceraw docstring

direct-child-nameclj

(direct-child-name prefix entry)

Returns the name of entry if direct child of prefix.

Returns the name of entry if direct child of prefix.
sourceraw docstring

direct-child?clj

(direct-child? prefix filename)

Whether filename is a direct child of prefix.

Whether filename is a direct child of prefix.
sourceraw docstring

file-url->child-namesclj

(file-url->child-names file-url)

Lists the files under file url. Appends a slash to directories.

Lists the files under file url.
Appends a slash to directories.
sourceraw docstring

get-filesclj

(get-files path)

Lists files of resource path.

Lists files of resource path.
sourceraw docstring

get-resourceclj

(get-resource path)

Finds first available resource with path.

Finds first available resource with path.
sourceraw docstring

get-subdirsclj

(get-subdirs path)

Lists subdirectories of resource path.

Lists subdirectories of resource path.
sourceraw docstring

jar-url->entriesclj

(jar-url->entries url)

Returns entries from url on a jar.

Returns entries from url on a jar.
sourceraw docstring

lsclj

(ls path)

Lists files and subdirectories of resource path.

Lists files and subdirectories of resource path.
sourceraw docstring

resource->lsclj

(resource->ls url)

Lists files for url (locally or in jar)

Lists files for url (locally or in jar)
sourceraw docstring

rm-trailing-slashclj

(rm-trailing-slash path)

Removes trailing slash, if present.

Removes trailing slash, if present.
sourceraw docstring

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

× close