Liking cljdoc? Tell your friends :D

bultitude.core


*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

doc-from-ns-formclj

(doc-from-ns-form ns-form)

Extract the docstring from a given ns form without evaluating the form. The docstring returned should be the return value of (:doc (meta namespace-symbol)) if the ns-form were to be evaluated.

Extract the docstring from a given ns form without evaluating the form. The docstring returned should be the return value of (:doc (meta namespace-symbol)) if the ns-form were to be evaluated.
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

path-forclj

(path-for namespace)
(path-for namespace extension)

Transform a namespace into a file path relative to classpath root, using the given extension (.clj default).

Transform a namespace into a file path relative to classpath root, using the given extension (.clj default).
sourceraw docstring

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

× close