package opam-client

  1. Overview
  2. Docs

Module OpamCLIVersionSource

CLI Versions

include OpamStd.ABSTRACT
Sourcetype t
Sourceval equal : t -> t -> bool
Sourceval to_string : t -> string
Sourcemodule Set : OpamStd.SET with type elt = t
Sourcemodule Map : OpamStd.MAP with type key = t
Sourceval current : t

The current version of the CLI (major and minor of OpamVersion.current

Sourceval default : t
Sourceval is_supported : t -> bool

Tests whether a valid CLI version is supported by the client library

Sourceval of_string_opt : string -> t option

'a option version of to_string

Sourceval of_string : string -> t
Sourceval (>=) : t -> (int * int) -> bool

Comparison >= with (major, minor)

Sourceval (<) : t -> (int * int) -> bool

Comparison < with (major, minor)

Sourceval compare : t -> t -> int
Sourceval previous : t -> t

Returns previous supported version.

Sourcemodule Sourced : sig ... end
Sourcemodule Op : sig ... end
OCaml

Innovation. Community. Security.