package opam-format

  1. Overview
  2. Docs
type t

System package

include OpamStd.ABSTRACT with type t := t
val of_string : string -> t
val to_string : t -> string
val to_json : t -> OpamJson.t
val of_json : OpamJson.t -> t option
module Set : OpamStd.SET with type elt = t
module Map : OpamStd.MAP with type key = t
val raw_set : OpamStd.String.Set.t -> Set.t
type status = {
  1. s_available : Set.t;
    (*

    Package available but not installed

    *)
  2. s_not_found : Set.t;
    (*

    Package unavailable on this system

    *)
}

System packages status

val status_empty : status
val string_of_status : status -> string
OCaml

Innovation. Community. Security.