Liking cljdoc? Tell your friends :D

dda.config.commons.version-model


ver_compclj

(ver_comp v1 v2)
source

ver_eqclj

(ver_eq v1 v2)
source

ver_fillclj

(ver_fill ver length)
source

ver_fromstrclj

(ver_fromstr str)

Inputs: [str] Returns: Version

Converts formated version string (e.g. 1.2.3.4) to version vector [1 2 3 4]. Shorter versions will be filled with zeros (e.g. 1.2 to [1 2 0]). Longer versions will be trimmed (e.g. 1.2.3.4.5 to [1 2 3 4]). nil is Version [0 0 0].

Inputs: [str]
Returns: Version

Converts formated version string (e.g. 1.2.3.4) to version vector [1 2 3 4].
 Shorter versions will be filled with zeros (e.g. 1.2 to [1 2 0]).
 Longer versions will be trimmed (e.g. 1.2.3.4.5 to [1 2 3 4]).
 nil is Version [0 0 0].
sourceraw docstring

ver_lessclj

(ver_less v1 v2)
source

ver_lesseqclj

(ver_lesseq v1 v2)
source

ver_strclj

(ver_str version)

Inputs: [version :- Version] Returns: s/Str

Converts version vector to point seperated string. Example (= (ver_str [2 1 4]) "2.1.4")

Inputs: [version :- Version]
Returns: s/Str

Converts version vector to point seperated string.
 Example (= (ver_str [2 1 4]) "2.1.4") 
sourceraw docstring

ver_str2intclj

(ver_str2int str)

Inputs: [str :- s/Str] Returns: s/Int

Converts string to integer, ignores all characters but 0-9. Returns 0 if string is empty.

Inputs: [str :- s/Str]
Returns: s/Int

Converts string to integer, ignores all characters but 0-9.
 Returns 0 if string is empty.
sourceraw docstring

Versionclj

A schema for a nested data type

A schema for a nested data type
sourceraw docstring

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

× close