(classpath-graph base)
(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.
(compile-3rd-party-deps!)
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.
`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.
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.
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.
(debug & xs)
(do-refresh scan-opts after-sym)
(elem-index item xs)
(executor)
(find-ns-decls)
(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)
(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.
(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.
(ignore-reader-exception & body)
(in-bg promises-atom f)
(islands graph)
(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.
(ns-decl->resource-path ns-decl extension)
(perform-refresh workload)
(positions pred coll)
(process-island promises
workload-set
the-project-namespaces
leaves
workload
island)
(process-leaf idx leave promises leaves-promises)
(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.
(read-ns-decl filename)
Reads ns declaration in file with line/column metadata
Reads ns declaration in file with line/column metadata
(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
(refresh & options)
Prevents concurrent invocations from e.g. an IDE + a terminal.
Prevents concurrent invocations from e.g. an IDE + a terminal.
(resource-path->filenames resource-path)
(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.
(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.
(sort-list-by-list crit xs)
(time expr)
Modified to use #'safe-println
.
Modified to use `#'safe-println`.
(track-reload tracker)
(track-reload-one tracker)
(transitively-depends-on? {:keys [dependencies dependents] :as pg}
x
&
{:keys [on visited-atom]
:or {visited-atom (atom {})}})
(word-wrap s)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close