package opam-format

  1. Overview
  2. Docs

doc/opam-format/OpamPackage/Version/index.html

Module OpamPackage.VersionSource

Versions

include OpamStd.ABSTRACT
Sourcetype t
Sourceval of_string : string -> t
Sourceval to_string : t -> string
Sourceval to_json : t -> OpamJson.t
Sourceval of_json : OpamJson.t -> t option
Sourcemodule Set : OpamStd.SET with type elt = t
Sourcemodule Map : OpamStd.MAP with type key = t
Sourceval compare : t -> t -> int

Compare two versions using the Debian version scheme

Sourceval equal : t -> t -> bool

Are two package versions equal?

OCaml

Innovation. Community. Security.