Liking cljdoc? Tell your friends :D
Clojure only.

com.blockether.vis.internal.foundation.environment.host

Host-side facts read from JDK system properties and process environment variables.

No I/O, no shell-out, no third-party deps. Cheap to compute, safe to call from any thread, never throws.

Host-side facts read from JDK system properties and process
environment variables.

No I/O, no shell-out, no third-party deps. Cheap to compute, safe
to call from any thread, never throws.
raw docstring

snapshotclj

(snapshot)

Return a map of host facts captured from the running JVM:

{:cwd absolute working directory at JVM start :user OS username :home user's home directory :os-name long os name ("Mac OS X") :os-version os release version :os-arch architecture ("aarch64", "amd64", ...) :shell $SHELL or "unknown" :jvm "<vendor> <version>" :locale default locale tag ("en-US") :time current local date+time with zone offset (ISO-8601) :timezone current JVM zone id}

Keys use hyphenated names (:os-name, not :os.name) so callers can :keys-destructure without hitting the JVM's restriction on dots in local-binding identifiers.

Return a map of host facts captured from the running JVM:

{:cwd         absolute working directory at JVM start
 :user        OS username
 :home        user's home directory
 :os-name     long os name ("Mac OS X")
 :os-version  os release version
 :os-arch     architecture ("aarch64", "amd64", ...)
 :shell       $SHELL or "unknown"
 :jvm         "<vendor> <version>"
 :locale      default locale tag ("en-US")
 :time        current local date+time with zone offset (ISO-8601)
 :timezone    current JVM zone id}

Keys use hyphenated names (`:os-name`, not `:os.name`) so callers
can `:keys`-destructure without hitting the JVM's restriction on
dots in local-binding identifiers.
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