Liking cljdoc? Tell your friends :D

volley.shell.runtime

Worker launch: finds out what the parent runs on, builds the command line for bb or JVM workers, and computes (and caches) the classpath for --runtime jvm from a babashka parent. Shell only; the decisions are in volley.runtime.

Portable: it loads on babashka and on the JVM.

Worker launch: finds out what the parent runs on, builds the command
line for bb or JVM workers, and computes (and caches) the classpath for
`--runtime jvm` from a babashka parent. Shell only; the decisions are in
`volley.runtime`.

Portable: it loads on babashka and on the JVM.
raw docstring

bb?clj

(bb?)

True when this process is babashka.

True when this process is babashka.
sourceraw docstring

input-argumentsclj

(input-arguments)

This JVM's launch options (-Xmx..., -D..., --add-opens ...).

This JVM's launch options (`-Xmx...`, `-D...`, `--add-opens ...`).
sourceraw docstring

invocationclj

(invocation)

The command the user ran volley with (volley.runtime/invocation).

The command the user ran volley with (`volley.runtime/invocation`).
sourceraw docstring

java-executableclj

(java-executable)

The java of this JVM, or java from the path when running on babashka.

The `java` of this JVM, or `java` from the path when running on
babashka.
sourceraw docstring

parent-classpathclj

(parent-classpath)

The classpath of this process, as a string.

The classpath of this process, as a string.
sourceraw docstring

paths-off-classpathclj

(paths-off-classpath paths)

The directories and jars among paths that exist and are not entries of this process's classpath, as canonical paths: what a worker, whose classpath adds every suite's test paths, can load from and this process cannot.

The directories and jars among `paths` that exist and are not entries
of this process's classpath, as canonical paths: what a worker, whose
classpath adds every suite's test paths, can load from and this process
cannot.
sourceraw docstring

project-classpathclj

(project-classpath requested-aliases)

The classpath of the project in the current directory for aliases, from clojure -Spath, cached in .volley/classpath-<key>.txt where the key hashes deps.edn, the aliases, the deps.edn files of :local/root dependencies and the user-level deps.edn. Returns {:classpath s :aliases [..] :jvm-opts [..] :cached? bool} (:jvm-opts are the aliases' own) or {:error msg}.

The classpath of the project in the current directory for `aliases`,
from `clojure -Spath`, cached in `.volley/classpath-<key>.txt` where the
key hashes deps.edn, the aliases, the deps.edn files of `:local/root`
dependencies and the user-level deps.edn. Returns `{:classpath s
:aliases [..] :jvm-opts [..] :cached? bool}` (`:jvm-opts` are the
aliases' own) or `{:error msg}`.
sourceraw docstring

volley-rootclj

(volley-root)

The classpath entry volley itself is loaded from (a directory or a jar), or nil.

The classpath entry volley itself is loaded from (a directory or a jar),
or nil.
sourceraw docstring

with-test-pathsclj

(with-test-paths cp cfg)

Classpath cp plus every suite's test paths, which Kaocha adds when it loads a suite (kaocha.testable/load). Source paths are not added: Kaocha only uses them for watching.

Classpath `cp` plus every suite's test paths, which Kaocha adds when it
loads a suite (`kaocha.testable/load`). Source paths are not added: Kaocha
only uses them for watching.
sourceraw docstring

worker-commandclj

(worker-command cfg aliases)
(worker-command cfg aliases {:keys [refresh?]})

The worker command for cfg (a normalized config) and the --aliases the user gave (keywords, or nil). With :refresh? the parent's classpath is computed again rather than reused (a computed JVM classpath is keyed on deps.edn and needs no flag). Returns {:command argv}, or {:error msg} when a classpath cannot be computed.

The worker command for `cfg` (a normalized config) and the
`--aliases` the user gave (keywords, or nil). With `:refresh?` the
parent's classpath is computed again rather than reused (a computed JVM
classpath is keyed on deps.edn and needs no flag). Returns `{:command
argv}`, or `{:error msg}` when a classpath cannot be computed.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close