Version handling for pallet
Version handling for pallet
(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.
(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.
(read-version-number s)
Read a version number from a string, ignoring alphabetic chars.
Read a version number from a string, ignoring alphabetic chars.
(version-less v1 v2)
Compare two version vectors.
Compare two version vectors.
(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.
(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"
(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]
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close