package dune-rpc

  1. Overview
  2. Docs
type t
val default : t
val select_common : local_versions:Method.Version.Set.t Method.Name.Map.t -> remote_versions:(Method.Name.t * Method.Version.t list) list -> t option

For each method known by both local and remote, choose the highest common version number. Returns None if the resulting menu would be empty.

val to_list : t -> (Method.Name.t * Method.Version.t) list
val to_dyn : t -> Dyn.t