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 package = {
  1. name : Debian.Format822.name;
  2. version : Debian.Format822.version;
  3. depends : Debian.Format822.vpkgformula;
  4. conflicts : Debian.Format822.vpkglist;
  5. provides : Debian.Format822.vpkglist;
  6. recommends : Debian.Format822.vpkgformula;
  7. suggests : Debian.Format822.vpkglist;
  8. extras : (string * string) list;
}
val default_package : package
val parse_s : ?opt:'a -> ?err:string -> ?multi:bool -> (('b * 'c) -> 'a) -> string -> (string * ('b * 'c)) list -> 'a
val parse_e : (string * ((string * ('a * 'b)) list -> 'b) option) list -> (string * ('a * 'b)) list -> (string * 'b) list
val parse_name : ('a * 'b) -> 'b
val parse_version : ('a * string) -> string
val parse_vpkg : (Debian.Format822.loc * string) -> Debian.Format822.vpkg
val parse_vpkgformula : (Debian.Format822.loc * string) -> Debian.Format822.vpkgformula
val parse_vpkglist : (Debian.Format822.loc * string) -> Debian.Format822.vpkglist
val parse_package_stanza : (string * ((string * (Debian.Format822.loc * Debian.Format822.name)) list -> Debian.Format822.name) option) list -> (string * (Debian.Format822.loc * Debian.Format822.name)) list -> package option
val parse_packages_in : ?extras: (string * ((string * (Debian.Format822.loc * Debian.Format822.name)) list -> Debian.Format822.name) option) list -> string -> IO.input -> package list
module Set : sig ... end
val input_raw : ?extras: (string * ((string * (Debian.Format822.loc * Debian.Format822.name)) list -> Debian.Format822.name) option) list -> string list -> Set.elt list
val input_raw_ch : ?extras: (string * ((string * (Debian.Format822.loc * Debian.Format822.name)) list -> Debian.Format822.name) option) list -> IO.input -> Set.elt list
OCaml

Innovation. Community. Security.