package dose3-extra

  1. Overview
  2. Docs
include sig ... end
val it : Dose_common__Util.Info.t
val info : ('a, unit, string, unit) format4 -> 'a
val nt : Dose_common__Util.Notice.t
val notice : ('a, unit, string, unit) format4 -> 'a
val wt : Dose_common__Util.Warning.t
val warning : ('a, unit, string, unit) format4 -> 'a
val dt : Dose_common__Util.Debug.t
val debug : ('a, unit, string, unit) format4 -> 'a
val fatal : ('a, unit, string, 'b) format4 -> 'a
val load_list_timer : Dose_common.Util.Timer.t
val deb_load_list_timer : Dose_common.Util.Timer.t
val deb_load_source_timer : Dose_common.Util.Timer.t
val read_deb : ?filter:(Dose_extra.Format822.stanza -> bool) -> ?extras:(string * Dose_pef.Packages.parse_extras_f option) list -> string -> Dose_debian.Packages.package list

read a debian Packages file - compressed or not

val npm_load_list : string -> Cudf.preamble * Cudf.package list list * Cudf.request * ((string * int) -> string * 'a option * string) * ((string * string) -> string * int) * 'b option * 'c list
val opam_load_list : ?options:Dose_opam2.Opamcudf.options -> string -> Cudf.preamble * Cudf.package list list * Cudf.request * ((string * int) -> string * 'a option * string) * ((string * string) -> string * int) * 'b option * 'c list
val pef_load_list : ?compare:(string -> string -> int) -> < conflicts : ((string * string option) * (string * string) option) list ; depends : ((string * string option) * (string * string) option) list list ; extras : (string * string) list ; name : string ; provides : ((string * string option) * (string * string) option) list ; recommends : ((string * string option) * (string * string) option) list list ; version : string.. > list list -> Cudf.preamble * Cudf.package list list * Cudf.request * ((string * int) -> string * 'a option * string) * ((string * string) -> string * int) * 'b option * 'c list
val csw_load_list : Dose_opencsw.Packages.package list list -> Cudf.preamble * Cudf.package list list * Cudf.request * (('a * int) -> 'a * 'b option * string) * ((Dose_opencsw.Packages.name * string) -> Dose_opencsw.Packages.name * int) * 'c option * 'd list
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 returns an empty list of packages

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 return an empty list of packages

val cudf_load_list : string -> Cudf.preamble * Cudf.package list list * Cudf.request * (('a * int) -> 'a * 'b option * string) * (('c * string) -> 'c * int) * 'd option * 'e list
val cudf_load_universe : string -> Cudf.preamble * Cudf.universe * Cudf.request * (('a * int) -> 'a * 'b option * string) * (('c * string) -> 'c * int) * 'd option * 'e list
val unpack_l : Dose_extra.Url.filetypes -> (Dose_extra.Url.filetypes * ('a * 'b * 'c * 'd * 'e) * 'f) list -> 'e list
val unpack : 'a -> ('a * ('b * 'c * 'd * 'e * string) * 'f) -> string
val pef_parse_input : ?compare: (Dose_pef.Packages_types.version -> Dose_pef.Packages_types.version -> int) -> (Dose_extra.Url.filetypes * ('a * 'b * 'c * 'd * string) * 'e) list list -> Cudf.preamble * Cudf.package list list * Cudf.request * ((string * int) -> string * 'f option * string) * ((string * string) -> string * int) * 'g option * 'h list
val npm_parse_input : ([> `Npm ] * ('a * 'b * 'c * 'd * string) * 'e) list list -> Cudf.preamble * Cudf.package list list * Cudf.request * ((string * int) -> string * 'f option * string) * ((string * string) -> string * int) * 'g option * 'h list
val opam_parse_input : ?options:Dose_opam2.Opamcudf.options -> ([> `Opam ] * ('a * 'b * 'c * 'd * string) * 'e) list list -> Cudf.preamble * Cudf.package list list * Cudf.request * ((string * int) -> string * 'f option * string) * ((string * string) -> string * int) * 'g option * 'h list
val csw_parse_input : (Dose_extra.Url.filetypes * ('a * 'b * 'c * 'd * string) * 'e) list list -> Cudf.preamble * Cudf.package list list * Cudf.request * (('f * int) -> 'f * 'g option * string) * ((Dose_opencsw.Packages.name * string) -> Dose_opencsw.Packages.name * int) * 'h option * 'i list
val cudf_parse_input : ([> `Cudf ] * ('a * 'b * 'c * 'd * string) * 'e) list list -> Cudf.preamble * Cudf.package list list * Cudf.request * (('f * int) -> 'f * 'g option * string) * (('h * string) -> 'h * int) * 'i option * 'j list

parse a list of uris of the same type and return a cudf packages list

val supported_formats : unit -> string list
val deb_load_source : ?filter:(Dose_extra.Format822.stanza -> bool) -> ?dropalternatives:bool -> ?profiles:Dose_pef.Packages_types.buildprofile list -> ?noindep:bool -> ?noarch:bool -> Dose_pef.Packages_types.architecture -> Dose_pef.Packages_types.architecture -> string -> Dose_debian.Packages.package list

return a list of Debian packages from a debian source file

parse and merge a list of files into a cudf package list

OCaml

Innovation. Community. Security.