Dose_opam2.Opamcudf
Opam/Pef format conversion routines
val default_options : options
val add_extra : (string * (string * Cudf_types.typedecl1)) list -> Dose_pef.Pefcudf.tables -> (string * string) -> < depopts : ((string * string option) * (string * string) option) list list; extras : (string * string) list; name : string; version : string; .. > -> (string * Cudf_types.typed_value) list
val tocudf : Dose_pef.Pefcudf.tables -> ?options:options -> ?extras:(string * (string * Cudf_types.typedecl1)) list ->
< baselist : string list; conflicts : ((string * string option) * (string * string) option) list; depends : ((string * string option) * (string * string) option) list list; depopts : ((string * string option) * (string * string) option) list list; extras : (string * string) list; installedlist : string list; name : string; pinnedlist : string list; provides : ((string * string option) * (string * string) option) list; switch : string list; version : string; .. > -> Cudf.package list
val encode_vpkglist : Dose_pef.Pefcudf.tables -> string -> ((string * string option) * (string * string) option) list -> (string * ([> `Eq | `Geq | `Gt | `Leq | `Lt | `Neq ] * int) option) list
val requesttocudf : Dose_pef.Pefcudf.tables -> Cudf.universe -> Packages.request -> Cudf.request
convert a opam request to a cudf request
val load_list : ?options:options ->
(string -> string -> int) -> < baselist : string list; conflicts : ((string * string option) * (string * string) option) list; depends : ((string * string option) * (string * string) option) list list; depopts : ((string * string option) * (string * string) option) list list; extras : (string * string) list; installedlist : string list; name : string; pinnedlist : string list; provides : ((string * string option) * (string * string) option) list; recommends : ((string * string option) * (string * string) option) list list; switch : string list; version : string; .. > list -> Cudf.package list
val load_universe : ?options:options ->
(string -> string -> int) -> < baselist : string list; conflicts : ((string * string option) * (string * string) option) list; depends : ((string * string option) * (string * string) option) list list; depopts : ((string * string option) * (string * string) option) list list; extras : (string * string) list; installedlist : string list; name : string; pinnedlist : string list; provides : ((string * string option) * (string * string) option) list; recommends : ((string * string option) * (string * string) option) list list; switch : string list; version : string; .. > list -> Cudf.universe