package opam-solver

  1. Overview
  2. Docs

Handles graphs of actions (package changes), based on ocamlgraph

module type ACTION = sig ... end
module type SIG = sig ... end
module Make (A : ACTION) : SIG with type package = A.package
val action_strings : ?utf8:bool -> 'a OpamTypes.action -> string

Some messages that may be used for displaying actions. Single utf8 chars if the corresponding option is set, otherwise words.

val symbol_of_action : 'a OpamTypes.action -> string
val name_of_action : 'a OpamTypes.action -> string
val action_color : 'a OpamTypes.action -> string -> string

Colorise string according to the action

val noun_of_action : 'a OpamTypes.action -> string * string

Returns a noun corresponding to the action name, singular and plural forms

OCaml

Innovation. Community. Security.