module BoilerplateNoRpm: sig
.. end
include struct ... end
module type Ot = sig
.. end
val and_sep_re : Pcre.regexp
val pkg_re : Pcre.regexp
val parse_vpkg : string ->
(string * ([> `Eq | `Geq | `Gt | `Leq | `Lt ] * string) option) list
val vpkglist_option : ?default:(string *
(([> `Eq | `Geq | `Gt | `Leq | `Lt ] as 'a) * string) option)
list ->
?metavar:string ->
unit -> (string * ('a * string) option) list OptParse.Opt.t
val and_sep_re : Pcre.regexp
val pkg_re : Pcre.regexp
val parse_pkg : string -> (string * string) list
val pkglist_option : ?default:(string * string) list ->
?metavar:string -> unit -> (string * string) list OptParse.Opt.t
val incr_str_list : ?default:string list option ->
?metavar:string -> unit -> string list OptParse.Opt.t
val str_list : ?default:string list option ->
?metavar:string -> unit -> string list OptParse.Opt.t
module MakeOptions: functor (
O
:
Ot
) ->
sig
.. end
val enable_debug : int -> unit
val all_quiet : bool -> unit
val enable_bars : bool -> Common.Util.label list -> unit
val enable_timers : bool -> Common.Util.label list -> unit
val read_deb : ?filter:((string * (Debian.Format822.loc * string)) list -> bool) ->
?extras:(string *
((string * (Debian.Format822.loc * string)) list -> string) option)
list ->
string -> Debian.Packages.Set.elt list
read a debian Packages file - compressed or not
val deb_load_list : ?extras:Debian.Debcudf.extramap ->
?status:Debian.Packages.Set.elt list ->
Debian.Packages.Set.elt list list ->
Cudf.preamble * Cudf.package list list *
(Cudf_types.pkgname * Cudf_types.version ->
Cudf_types.pkgname * Debian.Format822.version) *
(Debian.Format822.name * Debian.Format822.version ->
Debian.Format822.name * int)
val pp_versions_table : Format.formatter ->
(Cudf_types.pkgname * Cudf_types.version -> string * string) *
Cudf.package list -> unit
val eclipse_load_list : ?extras:(string * (string * Cudf_types.typedecl1)) list ->
Eclipse.Packages.package list list ->
Cudf.preamble * Cudf.package list list * (string * int -> string * string) *
(string * string -> string * int)
val deb_load_universe : ?extras:Debian.Debcudf.extramap ->
Debian.Packages.Set.elt list ->
Cudf.preamble * Cudf.universe *
(Cudf_types.pkgname * Cudf_types.version ->
Cudf_types.pkgname * Debian.Format822.version) *
(Debian.Format822.name * Debian.Format822.version ->
Debian.Format822.name * int)
transform a list of debian control stanza into a cudf universe
val rpm_load_list : 'a -> 'b
transform a list of rpm control stanza into a cudf packages list
val rpm_load_universe : 'a -> 'b * Cudf.universe * 'c * 'd
transform a list of rpm control stanza into a cudf universe
val parse_cudf : string -> Cudf.preamble option * Cudf.package list * Cudf.request option
parse a cudf file and return a triple (preamble,package list,request
option). If the package is not valid fails and exit
val load_cudf : string -> Cudf.preamble option * Cudf.universe * Cudf.request option
parse a cudf file and return a triple (preamble,universe,request option).
If the package is not valid fails and exit
val cudf_load_list : string ->
Cudf.preamble * Cudf.package list list * ('a * int -> 'a * string) *
('b * string -> 'b * int)
val cudf_load_universe : string ->
Cudf.preamble * Cudf.universe * ('a * int -> 'a * string) *
('b * string -> 'b * int)
val unpack : 'a * ('b * 'c * 'd * 'e * 'f) * 'g -> 'f
return the name of the file
val parse_input : ?default_arch:string option ->
?extras:Debian.Debcudf.extramap ->
string list list ->
Cudf.preamble * Cudf.package list list *
(Cudf_types.pkgname * Cudf_types.version ->
Cudf_types.pkgname * Debian.Format822.version) *
(Debian.Format822.name * Debian.Format822.version ->
Debian.Format822.name * int)
parse a list of uris of the same type and return a cudf packages list
val supported_formats : unit -> string list
val load_list : ?default_arch:string option ->
?extras:Debian.Debcudf.extramap ->
string list list ->
Cudf.preamble * Cudf.package list list *
(Cudf_types.pkgname * Cudf_types.version ->
Cudf_types.pkgname * Debian.Format822.version) *
(Debian.Format822.name * Debian.Format822.version ->
Debian.Format822.name * int)
parse and merge a list of files into a cudf package list
val load_universe : ?default_arch:string option ->
?extras:Debian.Debcudf.extramap ->
string list ->
Cudf.preamble * Cudf.universe *
(Cudf_types.pkgname * Cudf_types.version ->
Cudf_types.pkgname * Debian.Format822.version) *
(Debian.Format822.name * Debian.Format822.version ->
Debian.Format822.name * int)
parse and merge a list of files into a cudf universe
val if_application : ?alternatives:string list -> string -> (unit -> unit) -> unit