(version)
(version {:keys [version raw-version]})
Returns version information as a map with the keys :version/major
,
:version/minor
, :version/incremental
, and :version/qualifier
, where the former 3 are
integers and the latter is a string. Analoguous to *clojure-version*
.
Returns version information as a map with the keys `:version/major`, `:version/minor`, `:version/incremental`, and `:version/qualifier`, where the former 3 are integers and the latter is a string. Analoguous to `*clojure-version*`.
(version-string)
(version-string version-map)
Returns a string representing the information in version-map
including major
, minor
, incremental
,
and qualifier
components, but excluding the lein-v-raw
component.
Returns a string representing the information in `version-map` including `major`, `minor`, `incremental`, and `qualifier` components, but excluding the `lein-v-raw` component.
(version-string-long)
(version-string-long {:keys [:version/lein-v-raw] :as version-map})
Returns a string representing the information in all components of version-map
: major
, minor
,
incremental
, qualifier
, and lein-v-raw
components.
Returns a string representing the information in all components of `version-map`: `major`, `minor`, `incremental`, `qualifier`, and `lein-v-raw` components.
(version-string-short)
(version-string-short {:keys [:version/qualifier :version/lein-v-raw]
:as version-map})
Returns a string representing the information in version-map
components major
, minor
, and
incremental
. If either qualifier
or lein-v-raw
components are non-nil, an *
character is
added to the end.
Returns a string representing the information in `version-map` components `major`, `minor`, and `incremental`. If either `qualifier` or `lein-v-raw` components are non-nil, an `*` character is added to the end.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close