Liking cljdoc? Tell your friends :D

pallet.versions

Version handling for pallet

Version handling for pallet
raw docstring

as-version-stringclj

(as-version-string version)

Take a version, as either a string or a version vector, and returns a version string.

Take a version, as either a string or a version vector, and returns a
version string.
sourceraw docstring

as-version-vectorclj

(as-version-vector version)

Take a version, as either a string or a version vector, and returns a version vector.

Take a version, as either a string or a version vector, and returns a
version vector.
sourceraw docstring

read-version-numberclj

(read-version-number s)

Read a version number from a string, ignoring alphabetic chars.

Read a version number from a string, ignoring alphabetic chars.
sourceraw docstring

version-lessclj

(version-less v1 v2)

Compare two version vectors.

Compare two version vectors.
sourceraw docstring

version-matches?clj

(version-matches? version spec)

Predicate to test if a version matches a version spec. A version spec is a version, or two (possibly nil) versions in a vector, to specify a version range.

Predicate to test if a version matches a version spec. A version spec is a
version, or two (possibly nil) versions in a vector, to specify a version
range.
sourceraw docstring

version-spec-lessclj

(version-spec-less spec1 spec2)
source

version-stringclj

(version-string version-vector)

Convert a a vector of version numbers to a dotted version string. E.g., (version-vector [1 2]) => "1.2"

Convert a a vector of version numbers to a dotted version string.
E.g.,
    (version-vector [1 2]) => "1.2"
sourceraw docstring

version-vectorclj

(version-vector version-string)

Convert a dotted version string to a vector of version numbers. E.g., (version-vector "1.2") => [1 2]

Convert a dotted version string to a vector of version numbers.
E.g.,
    (version-vector "1.2") => [1 2]
sourceraw docstring

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

× close