Liking cljdoc? Tell your friends :D

eastwood.copieddeps.dep9.clojure.tools.namespace.repl

REPL utilities for working with namespaces

REPL utilities for working with namespaces
raw docstring

clearclj

(clear)

Clears all state from the namespace/file tracker. This may help repair the namespace tracker when it gets into an inconsistent state, without restarting the Clojure process. The next call to 'refresh' will reload all source files, but may not completely remove stale code from deleted files.

Clears all state from the namespace/file tracker. This may help
repair the namespace tracker when it gets into an inconsistent
state, without restarting the Clojure process. The next call to
'refresh' will reload all source files, but may not completely
remove stale code from deleted files.
sourceraw docstring

disable-reload!clj

(disable-reload!)
(disable-reload! namespace)

Adds metadata to namespace (or ns if unspecified) telling 'refresh' not to load it. Implies disable-unload! also.

Warning: Aliases to reloaded namespaces will break.

Adds metadata to namespace (or *ns* if unspecified) telling
'refresh' not to load it. Implies disable-unload! also.

Warning: Aliases to reloaded namespaces will break.
sourceraw docstring

disable-unload!clj

(disable-unload!)
(disable-unload! namespace)

Adds metadata to namespace (or ns if unspecified) telling 'refresh' not to unload it. The namespace may still be reloaded, it just won't be removed first.

Warning: Aliases to reloaded namespaces will break.

Adds metadata to namespace (or *ns* if unspecified) telling
'refresh' not to unload it. The namespace may still be reloaded, it
just won't be removed first.

Warning: Aliases to reloaded namespaces will break.
sourceraw docstring

refreshclj

(refresh & options)

Scans source code directories for files which have changed (since the last time this function was run) and reloads them in dependency order. Returns :ok or an error; sets the latest exception to clojure.core/*e (if *e is thread-bound).

The directories to be scanned are controlled by 'set-refresh-dirs'; defaults to all directories on the Java classpath.

Options are key-value pairs. Valid options are:

:after   Namespace-qualified symbol naming a zero-argument
         function to be invoked after a successful refresh. This
         symbol will be resolved *after* all namespaces have
         been reloaded.
Scans source code directories for files which have changed (since
the last time this function was run) and reloads them in dependency
order. Returns :ok or an error; sets the latest exception to
clojure.core/*e (if *e is thread-bound).

The directories to be scanned are controlled by 'set-refresh-dirs';
defaults to all directories on the Java classpath.

Options are key-value pairs. Valid options are:

    :after   Namespace-qualified symbol naming a zero-argument
             function to be invoked after a successful refresh. This
             symbol will be resolved *after* all namespaces have
             been reloaded.
sourceraw docstring

refresh-allclj

(refresh-all & options)

Scans source code directories for all Clojure source files and reloads them in dependency order.

The directories to be scanned are controlled by 'set-refresh-dirs'; defaults to all directories on the Java classpath.

Options are key-value pairs. Valid options are:

:after   Namespace-qualified symbol naming a zero-argument
         function to be invoked after a successful refresh. This
         symbol will be resolved *after* all namespaces have
         been reloaded.
Scans source code directories for all Clojure source files and
reloads them in dependency order.

The directories to be scanned are controlled by 'set-refresh-dirs';
defaults to all directories on the Java classpath.

Options are key-value pairs. Valid options are:

    :after   Namespace-qualified symbol naming a zero-argument
             function to be invoked after a successful refresh. This
             symbol will be resolved *after* all namespaces have
             been reloaded.
sourceraw docstring

refresh-dirsclj

source

refresh-trackerclj

source

set-refresh-dirsclj

(set-refresh-dirs & dirs)

Sets the directories which are scanned by 'refresh'. Supports the same types as clojure.java.io/file.

Sets the directories which are scanned by 'refresh'. Supports the
same types as clojure.java.io/file.
sourceraw docstring

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

× close