Liking cljdoc? Tell your friends :D

orchard.namespace

Utilities for resolving and loading namespaces

Utilities for resolving and loading namespaces
raw docstring

ensure-namespaceclj

(ensure-namespace ns)

Require ns (no-op if already loaded). Return the symbol if successful, and nil if this fails.

Require `ns` (no-op if already loaded). Return the symbol if successful,
and `nil` if this fails.
sourceraw docstring

has-tests?clj

(has-tests? ns)

Return a truthy value if the namespace has any vars with :test metadata.

Return a truthy value if the namespace has any vars with `:test` metadata.
sourceraw docstring

inlined-dependency?clj

(inlined-dependency? namespace)

Returns true if the namespace matches one of our, or eastwood's, inlined dependencies.

Returns true if the namespace matches one of our, or eastwood's,
inlined dependencies.
sourceraw docstring

internal-namespace?clj

(internal-namespace? namespace & [prefixes])

Returns true if the namespace matches the given prefixes.

Returns true if the namespace matches the given prefixes.
sourceraw docstring

jar-namespacesclj

source

load-project-namespacesclj

(load-project-namespaces)

Require and return all namespaces validly defined in the current project.

Require and return all namespaces validly defined in the current project.
sourceraw docstring

loaded-namespacesclj

(loaded-namespaces & [filter-regexps])

Return all loaded namespaces, except those coming from inlined dependencies. filter-regexps is used to filter out namespaces matching regexps.

Return all loaded namespaces, except those coming from inlined dependencies.
`filter-regexps` is used to filter out namespaces matching regexps.
sourceraw docstring

loaded-project-namespacesclj

(loaded-project-namespaces)

Return all loaded namespaces defined in the current project.

Return all loaded namespaces defined in the current project.
sourceraw docstring

ns-pathclj

(ns-path ns)

Return the path to a file containing namespace ns. ns can be a Namespace object or the name of a namespace.

Return the path to a file containing namespace `ns`.
`ns` can be a Namespace object or the name of a namespace.
sourceraw docstring

project-namespacesclj

(project-namespaces)

Find all namespaces defined in source paths within the current project.

Find all namespaces defined in source paths within the current project.
sourceraw docstring

project-rootclj

source

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

× close