package dose3

  1. Overview
  2. Docs
Dose library (part of Mancoosi tools)

Install

Dune Dependency

Authors

Maintainers

Sources

dose3-6.1.tar.gz
md5=dedc2f58f2c2b59021f484abc6681d93
sha512=603462645bac190892a816ecb36ef7b9c52f0020f8d7710dc430e2db65122090fdedb24a8d2e03c32bf53a96515f5b51499603b839680d0a7a2146d6e0fb6e34

doc/dose3.debian/Dose_debian/Apt/index.html

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.