module CudfAdd:sig..end
val equal : Cudf.package -> Cudf.package -> boolval compare : Cudf.package -> Cudf.package -> intval hash : Cudf.package -> intval sort : ?asc:bool -> Cudf.package list -> Cudf.package listmodule 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 who_provides : Cudf.universe -> Cudf_types.vpkg -> Cudf.package listval resolve_deps : Cudf.universe -> Cudf_types.vpkglist -> Cudf.package listval who_depends : Cudf.universe -> Cudf.package -> Cudf.package list listtypectable =(int, int list Pervasives.ref) ExtLib.Hashtbl.t
val init_conflicts : Cudf.universe -> ctableval who_conflicts : ctable -> Cudf.universe -> Cudf.package -> Cudf.package listval resolve_vpkg_int : Cudf.universe -> Cudf_types.vpkg -> int listval resolve_vpkgs_int : Cudf.universe -> Cudf_types.vpkglist -> int listval 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 latest : ?n:int -> Cudf.package list -> Cudf.package listn
most recent version (default the latest version)module StringSet:Set.Swith type elt = ExtLib.String.t
val pkgnames : Cudf.universe -> StringSet.tval add_properties : Cudf.preamble -> Cudf_types.typedecl -> Cudf.preambleval get_property : string -> Cudf.package -> stringval is_essential : Cudf.package -> boolval realversionmap : Cudf.package list ->
(Cudf_types.pkgname * string, Cudf.package) ExtLib.Hashtbl.tval pkgtoint : Cudf.universe -> Cudf.package -> intval inttopkg : Cudf.universe -> int -> Cudf.packageval compute_pool : Cudf.universe -> int list list array * int list array
val add_to_package_list : ('a, 'b list Pervasives.ref) ExtLib.Hashtbl.t -> 'a -> 'b -> unit
val get_package_list : ('a, 'b list Pervasives.ref) ExtLib.Hashtbl.t -> 'a -> 'b list
val normalize_set : int list -> int listval string_of : (Format.formatter -> 'a -> 'b) -> 'a -> string
val pp_version : Format.formatter -> Cudf.package -> unit
val pp_package : Format.formatter -> Cudf.package -> unit
val string_of_version : Cudf.package -> stringval string_of_package : Cudf.package -> stringtypepp =Cudf.package ->
string * string option * string * (string * (string * bool)) list
val pp : (Cudf_types.pkgname * Cudf_types.version -> string * string option * string) ->
?fields:string list ->
?decode:(Cudf_types.pkgname -> string) -> pppp ?decode from_cudf pkg package pretty printer.
from_cudf a function that gets a (name,cudfversion) pair and returns a (name,realversion).
?fields additional fields to print.
?decode a function that decode the package name and version.
returns : a pair (name,versiom,property list)
note that if the package has version less then 0, then the version is printed
as "nan"
val default_pp : ppdefault_pp default package printer. Extracts string values from a
cudf package : Name, Version, Fields. Where Fields is a list of
field name , value pairs . If the version of the package is
a negative number, the version version if printed as "nan".val pp_vpkg : pp -> Format.formatter -> Cudf_types.vpkg -> unitval pp_vpkglist : pp -> Format.formatter -> Cudf_types.vpkglist -> unitval cone : Cudf.universe -> Cudf.package list -> Cudf.package list