package dune-release

  1. Overview
  2. Docs

Opam version.

type t =
  1. | V1_2_2
  2. | V2
    (*

    Supported opam versions.

    *)
val pp : Stdlib.Format.formatter -> t -> unit
val equal : t -> t -> bool
val of_string : string -> (t, Bos_setup.R.msg) Bos_setup.result

of_string s returns the supported opam version parsed from s or return the associated error message.

val cli : (t, Bos_setup.R.msg) Bos_setup.result Stdlib.Lazy.t

cli is the output of opam --version.

OCaml

Innovation. Community. Security.