package dose3

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Dose_debian.AptSource

Apt command line parsing

module Pcre = Re_pcre
include sig ... end
Sourceval it : Dose_common__Util.Info.t
Sourceval info : ('a, unit, string, unit) format4 -> 'a
Sourceval nt : Dose_common__Util.Notice.t
Sourceval notice : ('a, unit, string, unit) format4 -> 'a
Sourceval wt : Dose_common__Util.Warning.t
Sourceval warning : ('a, unit, string, unit) format4 -> 'a
Sourceval dt : Dose_common__Util.Debug.t
Sourceval debug : ('a, unit, string, unit) format4 -> 'a
Sourceval fatal : ('a, unit, string, 'b) format4 -> 'a
Sourceval blank_regexp : Pcre.regexp
Sourceval parse_inst : in_channel -> (string * string, unit) ExtLib.Hashtbl.t
Sourceval parse_inst_from_cmd : string -> (string * string, unit) ExtLib.Hashtbl.t
Sourceval parse_inst_from_file : string -> (string * string, unit) ExtLib.Hashtbl.t
Sourceval parse_popcon : string -> int * string * int
Sourcetype apt_req =
  1. | Install of Dose_pef.Packages_types.vpkgreq list
  2. | Remove of Dose_pef.Packages_types.vpkgreq list
  3. | Upgrade of Dose_pef.Packages_types.suite option
  4. | DistUpgrade of Dose_pef.Packages_types.suite option
Sourceval parse_req : string -> string -> Dose_pef.Packages_types.vpkgreq
Sourceval parse_request_apt : string -> apt_req

parse a string containing an apt-get command line

  • returns

    a data structure containing the request

Sourceval parse_request_aptitude : string -> apt_req
Sourcemodule Pref : sig ... end

for details on the apt_preferences format : man apt_preferences

Sourceval comma_regexp : Pcre.regexp
Sourceval eq_regexp : Pcre.regexp
Sourceval di_regexp : Pcre.regexp
Sourceval al_regexp : Pcre.regexp
Sourceval parse_pref_labels : string -> (string * string) list
Sourceval general_regexp : Pcre.regexp
Sourceval parse_pref_package : ('a * ('b * string)) -> Pref.package_t
Sourceval pin_regexp : Pcre.regexp
Sourceval parse_pin : ('a * ('b * string)) -> Pref.pin_t
Sourceval preferences_parser : (Dose_common.Format822.stanza -> 'a) -> 'a list -> Dose_common.Format822.f822_parser -> 'a list
Sourceval parse_preferences_in : IO.input -> Pref.apt_preferences list

parse the apt_preferences file

OCaml

Innovation. Community. Security.