package opam-solver

  1. Overview
  2. Docs

Cudf criteria helpers

type filter =
  1. | Installed
  2. | Solution
  3. | Changed
  4. | Removed
  5. | New
  6. | Upgraded
  7. | Downgraded
  8. | Requested
type property = string option
type sign =
  1. | Plus
  2. | Minus
type criterion = sign * filter * property
val criterion_to_string : criterion -> string
val of_string : string -> criterion list

of_string s Parses the string s as a CUDF optimization criteria.

  • raises {!Stdlib.Failure}

    if the string is invalid

OCaml

Innovation. Community. Security.