Liking cljdoc? Tell your friends :D

clojail.classpath


*read-cond*clj

source

classpath-filesclj

(classpath-files)
(classpath-files classloader)

Returns a sequence of File objects of the elements on the classpath.

Returns a sequence of File objects of the elements on the classpath.
sourceraw docstring

file->namespace-formsclj

(file->namespace-forms prefix f)
(file->namespace-forms prefix f ignore-unreadable?)

Map a classpath file to the namespace forms it contains. prefix allows for reducing the namespace search space. For large directories on the classpath, passing a prefix can provide significant efficiency gains.

Map a classpath file to the namespace forms it contains. `prefix` allows for
reducing the namespace search space. For large directories on the classpath,
passing a `prefix` can provide significant efficiency gains.
sourceraw docstring

file->namespacesclj

(file->namespaces prefix f)

Map a classpath file to the namespaces it contains. prefix allows for reducing the namespace search space. For large directories on the classpath, passing a prefix can provide significant efficiency gains.

Map a classpath file to the namespaces it contains. `prefix` allows for
reducing the namespace search space. For large directories on the classpath,
passing a `prefix` can provide significant efficiency gains.
sourceraw docstring

loader-classpathclj

(loader-classpath loader)

Returns a sequence of File objects from a classloader.

Returns a sequence of File objects from a classloader.
sourceraw docstring

namespace-forms-in-dirclj

(namespace-forms-in-dir dir)
(namespace-forms-in-dir dir ignore-unreadable?)

Return a seq of all namespace forms found in Clojure source files in dir.

Return a seq of all namespace forms found in Clojure source files in dir.
sourceraw docstring

namespace-forms-on-classpathclj

(namespace-forms-on-classpath &
                              {:keys [prefix classpath ignore-unreadable?]
                               :or {classpath (classpath-files)
                                    ignore-unreadable? true}})

Returs the namespaces forms matching the given prefix both on disk and inside jar files. If :prefix is passed, only return namespaces that begin with this prefix. If :classpath is passed, it should be a seq of File objects or a classpath string. If it is not passed, default to java.class.path and the current classloader, assuming it is a dynamic classloader.

Returs the namespaces forms matching the given prefix both on disk and
inside jar files. If :prefix is passed, only return namespaces that begin with
this prefix. If :classpath is passed, it should be a seq of File objects or a
classpath string. If it is not passed, default to java.class.path and the
current classloader, assuming it is a dynamic classloader.
sourceraw docstring

namespaces-in-dirclj

(namespaces-in-dir dir)
(namespaces-in-dir dir ignore-unreadable?)

Return a seq of all namespaces found in Clojure source files in dir.

Return a seq of all namespaces found in Clojure source files in dir.
sourceraw docstring

namespaces-on-classpathclj

(namespaces-on-classpath & args)

Return symbols of all namespaces matching the given prefix both on disk and inside jar files. If :prefix is passed, only return namespaces that begin with this prefix. If :classpath is passed, it should be a seq of File objects or a classpath string. If it is not passed, default to java.class.path and the current classloader, assuming it is a dynamic classloader.

Return symbols of all namespaces matching the given prefix both on disk and
inside jar files. If :prefix is passed, only return namespaces that begin with
this prefix. If :classpath is passed, it should be a seq of File objects or a
classpath string. If it is not passed, default to java.class.path and the
current classloader, assuming it is a dynamic classloader.
sourceraw docstring

ns-form-for-fileclj

(ns-form-for-file file)
(ns-form-for-file file ignore-unreadable?)
source

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

× close