package dose

  1. Overview
  2. Docs
val info : ('a, unit, string, unit) Pervasives.format4 -> 'a
val notice : ('a, unit, string, unit) Pervasives.format4 -> 'a
val warning : ('a, unit, string, unit) Pervasives.format4 -> 'a
val debug : ('a, unit, string, unit) Pervasives.format4 -> 'a
val fatal : ('a, unit, string, 'b) Pervasives.format4 -> 'a
type source = {
  1. name : Format822.name;
  2. version : Format822.version;
  3. architecture : Format822.architecture list;
  4. binaries : string list;
  5. build_depends : Format822.builddepsformula;
  6. build_depends_indep : Format822.builddepsformula;
  7. build_depends_arch : Format822.builddepsformula;
  8. build_conflicts : Format822.builddepslist;
  9. build_conflicts_indep : Format822.builddepslist;
  10. build_conflicts_arch : Format822.builddepslist;
}
val default_source : source
val parse_s : ?opt:'a -> ?err:string -> ?multi:bool -> (('b * 'c) -> 'a) -> string -> (string * ('b * 'c)) list -> 'a
val parse_name : (Format822.loc * string) -> Format822.name
val parse_version : (Format822.loc * string) -> Format822.version
val parse_builddepslist : (Format822.loc * string) -> Format822.builddepslist
val parse_builddepsformula : (Format822.loc * string) -> Format822.builddepsformula
val parse_architectures : string list -> (Format822.loc * string) -> Format822.architecture list
val parse_package_stanza : ((string * (Format822.loc * string)) list -> bool) option -> string list -> (string * (Format822.loc * string)) list -> source option
val parse_sources_in : ?filter:((string * (Format822.loc * string)) list -> bool) -> ?archs:string list -> string -> IO.input -> source list
val input_raw : ?filter:((string * (Format822.loc * string)) list -> bool) -> ?archs:string list -> string list -> source list
val sep : string
val matcharch : string -> (bool * string) list -> bool
val matchprofile : 'a list -> (bool * 'a) list list -> bool
val select : string -> 'a list -> ('b * (bool * string) list * (bool * 'a) list list) -> 'b option
val sources2packages : ?profiles:Format822.buildprofile list -> ?noindep:bool -> ?src:string -> Format822.architecture -> Format822.architecture -> source list -> Packages.package list
val is_source : ?src:string -> Packages.package -> bool
exception MismatchSrc of Cudf.package list
exception NotfoundSrc
val get_src_package : Cudf.universe -> Cudf.package -> Cudf.package
val binset : ('a -> Common.CudfAdd.Cudf_set.elt list) -> 'a list -> Common.CudfAdd.Cudf_set.t
OCaml

Innovation. Community. Security.