(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.
(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.
(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.
(loader-classpath loader)Returns a sequence of File objects from a classloader.
Returns a sequence of File objects from a classloader.
(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.
(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.
(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.
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |