package dose

  1. Overview
  2. Docs
module Pcre = Re_pcre
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 request = {
  1. request : string;
  2. install : Format822.vpkg list;
  3. remove : Format822.vpkg list;
  4. architecture : Format822.architecture option;
  5. architectures : Format822.architectures;
  6. autoremove : bool;
  7. upgrade : bool;
  8. distupgrade : bool;
  9. strict_pin : bool;
  10. preferences : string;
  11. cmdline : string;
}
val default_request : request
val from_apt_request : Format822.architecture option -> request -> Apt.apt_req -> request
val parse_s : ?opt:'a -> ?err:string -> ?multi:bool -> (('b * 'c) -> 'a) -> string -> (string * ('b * 'c)) list -> 'a
val parse_string : ('a * 'b) -> 'b
val parse_string_opt : ('a * string) -> string option
val parse_string_list : ('a * string) -> string list
val parse_int_s : ('a * string) -> string
val parse_req : (Format822.loc * string) -> Format822.vpkg list
val parse_edsp_version : ('a * string) -> string
val parse_request_stanza : (string * (Format822.loc * Format822.architecture)) list -> request
val parse_bool_s : ('a * string) -> string
val parse_installed : (string * (Format822.loc * string)) list -> string
val parse_hold : (string * (Format822.loc * string)) list -> string
val parse_apt_id : (string * (Format822.loc * Format822.architecture)) list -> Format822.architecture
val parse_apt_pin : (string * (Format822.loc * string)) list -> string
val parse_automatic : (string * (Format822.loc * string)) list -> string
val parse_candidate : (string * (Format822.loc * string)) list -> string
val parse_section : (string * (Format822.loc * Format822.architecture)) list -> Format822.architecture
val extras : (string * ((string * (Format822.loc * Format822.architecture)) list -> Format822.architecture) option) list
val packages_parser : ?request:bool -> (request * Packages.package list) -> Format822.deb_parser -> request * Packages.package list
val input_raw_ch : IO.input -> request * Packages.package list
val input_raw : string -> request * Packages.package list
val extras_tocudf : (string * (string * [> `Bool of bool option | `Int of 'a option | `String of string option ])) list
val is_installed : Packages.package -> bool
val is_on_hold : Packages.package -> bool
val tocudf : Debcudf.tables -> ?options:Debcudf.options -> ?inst:bool -> Packages.package -> Cudf.package
val requesttocudf : Debcudf.tables -> Cudf.universe -> request -> Cudf.request
OCaml

Innovation. Community. Security.