module CudfAdd:Library of additional functions for the CUDF format.sig..end
val equal : Cudf.package -> Cudf.package -> boolval compare : Cudf.package -> Cudf.package -> intval hash : Cudf.package -> intmodule Cudf_hashtbl:Hashtbl.Swith type key = Cudf.package
module Cudf_set:Set.Swith type elt = Cudf.package
val to_set : Cudf_set.elt list -> Cudf_set.tval encode : string -> stringReplaces all the "not allowed" characters with their ASCII code (in hexadecimal format), prefixed with a '%' sign.
Only "allowed" characters are letters, numbers and these: @/+().-,
all the others are replaced.
Examples:
encode "ab" = "ab"encode "|" = "%7c"encode "a|b" = "a%7cb"val decode : string -> stringencode function.
Replaces all the encoded "not allowed" characters in the string by their original (i.e. not encoded) versions.
Examples:
decode "ab" = "ab"decode "%7c" = "|"decode "a%7cb" = "a|b"val string_of : (Format.formatter -> 'a -> 'b) -> 'a -> stringval pp_version : Format.formatter -> Cudf.package -> unitval pp_package : Format.formatter -> Cudf.package -> unitval string_of_version : Cudf.package -> stringval string_of_package : Cudf.package -> stringmodule StringSet:Set.Swith type elt = ExtLib.String.t
val pkgnames : Cudf.universe -> StringSet.tval add_properties : Cudf.preamble -> (string * Cudf_types.typedecl1) list -> Cudf.preambleval is_essential : Cudf.package -> boolval realversionmap : Cudf.package list ->
(Cudf_types.pkgname * string, Cudf.package) ExtLib.Hashtbl.tval vartoint : Cudf.universe -> Cudf.package -> intval inttovar : Cudf.universe -> int -> Cudf.packageval add_to_package_list : ('a, 'b list Pervasives.ref) ExtLib.Hashtbl.t -> 'a -> 'b -> unitval get_package_list : ('a, 'b list Pervasives.ref) ExtLib.Hashtbl.t -> 'a -> 'b listval unique : 'a list -> 'a listval normalize_set : int list -> int listval who_provides : Cudf.universe -> Cudf_types.pkgname * Cudf_types.constr -> Cudf.package listval resolve_vpkg_int : Cudf.universe -> Cudf_types.pkgname * Cudf_types.constr -> int listval resolve_vpkgs_int : Cudf.universe -> (Cudf_types.pkgname * Cudf_types.constr) list -> int listval resolve_deps : Cudf.universe ->
(Cudf_types.pkgname * Cudf_types.constr) list -> Cudf.package listval who_depends : Cudf.universe -> Cudf.package -> Cudf.package list listval who_conflicts : (int, int list Pervasives.ref) ExtLib.Hashtbl.t ->
Cudf.universe -> Cudf.package -> Cudf.package listval init_conflicts : Cudf.universe -> (int, int list Pervasives.ref) ExtLib.Hashtbl.tval compute_pool : Cudf.universe -> int list list array * int list arrayval cudfop : (string * string) option ->
([> `Eq | `Geq | `Gt | `Leq | `Lt ] * string) option