package dose3-extra

  1. Overview
  2. Docs

Parse a criteria field

val to_string : ?solver:string -> Criteria_types.criteria -> string

Return the string encoding the criteria. if the given solver does not respect the MISC2012 syntax, the function fails

val iter : ((string * string * string * Re.re option) -> unit) -> Criteria_types.criteria -> unit
val is_misc2012 : string -> bool

Return true is the solver respect the MISC2012 syntax

val default_criteria : (string * Criteria_types.criteria) list

An associative list containing the criteria associated to the following shortcuts :

  • upgrade
  • dist-upgrade
  • install
  • remove
  • paranoid
  • trendy
OCaml

Innovation. Community. Security.