Liking cljdoc? Tell your friends :D

cisco.tools.namespace.parallel-refresh


*executor*clj


classpath-graphclj

(classpath-graph base)

classpath-ns-formsclj

(classpath-ns-forms)

Returns all the ns-forms contained or required in the entire classpath.

Returns all the ns-forms contained or required in the entire classpath.
raw docstring

compile-3rd-party-deps!clj

(compile-3rd-party-deps!)

requires files that are detected as 3rd-party project dependencies: namely, namespaces that aren't contained in refresh-dirs but are referenced from them.

This requireing is performed while binding [*compile-files* true], i.e. it AOT-compiles those files.

This way, subsequent JVM startups will be faster. (See: https://clojure.org/guides/dev_startup_time )

Namespaces that appear to be AOT-unfriendly will be skipped fro AOT-compilation, on a best-effort basis.

`require`s files that are detected as 3rd-party project dependencies:
namely, namespaces that aren't contained in `refresh-dirs` but are referenced from them.

This `require`ing is performed while `binding [*compile-files* true]`, i.e. it AOT-compiles those files.

This way, subsequent JVM startups will be faster. (See: https://clojure.org/guides/dev_startup_time )

Namespaces that appear to be AOT-unfriendly will be skipped fro AOT-compilation, on a best-effort basis.
raw docstring

dbg-executorclj

The last java.util.concurrent.Executor that is running / has run the latest workload.

The last `java.util.concurrent.Executor` that is running / has run the latest workload.
raw docstring

dbg-promisesclj

An atom of promises representing the latest workfload. If some promise is still :pending, that means the work is still in progress.

An atom of `promises` representing the latest workfload. If some promise is still :pending,
that means the work is still in progress.
raw docstring

debugclj

(debug & xs)

do-refreshclj

(do-refresh scan-opts after-sym)

elem-indexclj

(elem-index item xs)

error-result-markerclj


executorclj

(executor)

find-ns-declsclj

(find-ns-decls)

find-ns-decls*clj

(find-ns-decls* files)
(find-ns-decls* files platform)

Like #'find-ns-decls but adds parallelism (for dirs) and caching (for jars)

Like `#'find-ns-decls` but adds parallelism (for dirs) and caching (for jars)
raw docstring

find-ns-decls-in-dirclj

(find-ns-decls-in-dir dir)
(find-ns-decls-in-dir dir platform)

Like its #'find/find-ns-decls-in-dir counterpart but adds caching based on a given file's timestamp.

Like its `#'find/find-ns-decls-in-dir` counterpart but adds caching based on a given file's timestamp.
raw docstring

gc-laterclj

(gc-later)

An optional helper, not directly used by this lib.

You can set it as an :after option, which can improve performance in some cases.

An optional helper, not directly used by this lib.

You can set it as an `:after` option, which can improve performance in some cases.
raw docstring

ignore-reader-exceptioncljmacro

(ignore-reader-exception & body)

in-bgclj

(in-bg promises-atom f)

islandsclj

(islands graph)

jar-filename->ns-declsclj


make-depmapclj

(make-depmap ns-forms read-opts)

Makes a mapping from namespace names, its direct (non-transitive) dependencies.

Makes a mapping from namespace names, its direct (non-transitive) dependencies.
raw docstring

ns-decl->resource-pathclj

(ns-decl->resource-path ns-decl extension)

ok-result-markerclj


perform-refreshclj

(perform-refresh workload)

positionsclj

(positions pred coll)


process-islandclj

(process-island promises
                workload-set
                the-project-namespaces
                leaves
                workload
                island)

process-leafclj

(process-leaf idx leave promises leaves-promises)

project-namespacesclj

(project-namespaces)

Returns all the namespaces contained or required in the current project.

Excludes third-party dependencies.

Returns all the namespaces contained or required in the current project.

Excludes third-party dependencies.
raw docstring

read-file-ns-declclj


read-ns-declclj

(read-ns-decl filename)

Reads ns declaration in file with line/column metadata

Reads ns declaration in file with line/column metadata
raw docstring

referredclj

(referred ns)

Plays better with vars coming from Potemkin.

For an explanation see https://github.com/jonase/eastwood/issues/307#issuecomment-764304379

Plays better with vars coming from Potemkin.

For an explanation see https://github.com/jonase/eastwood/issues/307#issuecomment-764304379
raw docstring

refreshclj

(refresh & options)

refresh-lockclj

Prevents concurrent invocations from e.g. an IDE + a terminal.

Prevents concurrent invocations from e.g. an IDE + a terminal.
raw docstring

resource-path->filenamesclj

(resource-path->filenames resource-path)

safe-printlnclj

(safe-println & xs)

println can always fail, given that *out* can be bound to an arbitrary object.

Failing during println cannot happen as it would cause a hang.

`println` can always fail, given that `*out*` can be bound to an arbitrary object.

Failing during `println` cannot happen as it would cause a hang.
raw docstring

safe-pstclj

(safe-pst e)

.printStackTrace can always fail, given that System/out can be set to an arbitrary object.

Failing during .printStackTrace cannot happen as it would cause a hang.

Also uses a repl-friendly output format: it prints only the root cause (without a further stacktrace), removing some redundant wording and word-wrapping at 132 columns.

`.printStackTrace` can always fail, given that `System/out` can be set to an arbitrary object.

Failing during `.printStackTrace` cannot happen as it would cause a hang.

Also uses a repl-friendly output format: it prints only the root cause (without a further stacktrace),
removing some redundant wording and word-wrapping at 132 columns.
raw docstring

sort-list-by-listclj

(sort-list-by-list crit xs)

timecljmacro

(time expr)

Modified to use #'safe-println.

Modified to use `#'safe-println`.
raw docstring

track-reloadclj

(track-reload tracker)

track-reload-oneclj

(track-reload-one tracker)

transitively-depends-on?clj

(transitively-depends-on? {:keys [dependencies dependents] :as pg}
                          x
                          &
                          {:keys [on visited-atom]
                           :or {visited-atom (atom {})}})

word-wrapclj

(word-wrap s)

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

× close