Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type package = {
package : Cudf_types.pkgname;
version : Cudf_types.version;
depends : Cudf_types.vpkgformula;
conflicts : Cudf_types.vpkglist;
provides : Cudf_types.veqpkglist;
installed : bool;
was_installed : bool;
keep : Cudf_types.enum_keep;
pkg_extra : Cudf_types.typed_value Cudf_types.stanza;
}
type request = {
request_id : string;
install : Cudf_types.vpkglist;
remove : Cudf_types.vpkglist;
upgrade : Cudf_types.vpkglist;
req_extra : Cudf_types.typed_value Cudf_types.stanza;
}
type preamble = {
preamble_id : string;
property : Cudf_types.typedecl;
univ_checksum : string;
status_checksum : string;
req_checksum : string;
}
val default_preamble : preamble
val default_package : package
val default_request : request
val lookup_package :
universe ->
(Cudf_types.pkgname * Cudf_types.version) ->
package
val mem_package : universe -> (Cudf_types.pkgname * Cudf_types.version) -> bool
val mem_installed :
?include_features:bool ->
?ignore:(package -> bool) ->
universe ->
Cudf_types.vpkg ->
bool
val who_provides :
?installed:bool ->
universe ->
Cudf_types.vpkg ->
(package * Cudf_types.version option) list
val lookup_packages :
?filter:Cudf_types.constr ->
universe ->
Cudf_types.pkgname ->
package list
val get_installed : universe -> Cudf_types.pkgname -> package list
val universe_size : universe -> int
val installed_size : universe -> int
val lookup_package_property : package -> string -> string
val lookup_request_property : request -> string -> string
val lookup_preamble_property : preamble -> string -> string
val lookup_typed_package_property : package -> string -> Cudf_types.typed_value
val lookup_typed_request_property : request -> string -> Cudf_types.typed_value
val lookup_typed_preamble_property :
preamble ->
string ->
Cudf_types.typed_value
val lookup_package_typedecl :
?extra:Cudf_types.typedecl ->
string ->
Cudf_types.typedecl1
val version_matches : Cudf_types.version -> Cudf_types.constr -> bool
val (|=) : Cudf_types.version -> Cudf_types.constr -> bool