package opam-format

  1. Overview
  2. Docs

Versions

include OpamStd.ABSTRACT
type t
val of_string : string -> t
val to_string : t -> string
val to_json : t OpamJson.encoder
val of_json : t OpamJson.decoder
module Set : OpamStd.SET with type elt = t
module Map : OpamStd.MAP with type key = t
val compare : t -> t -> int

Compare two versions using the Debian version scheme

val equal : t -> t -> bool

Are two package versions equal?

val default : t

Default version used when no version is given

OCaml

Innovation. Community. Security.