package odoc-driver

  1. Overview
  2. Docs
type package = {
  1. name : string;
  2. version : string;
}
type doc_file = {
  1. kind : [ `Mld | `Asset | `Other ];
  2. file : Fpath.t;
  3. rel_path : Fpath.t;
}
type installed_files = {
  1. libs : Fpath.set;
  2. docs : doc_file list;
  3. odoc_config : Fpath.t option;
}
type package_of_fpath = package Fpath.map
type fpaths_of_package = (package * installed_files) list
val all_opam_packages : unit -> package list
val classify_docs : Fpath.t -> string option -> Fpath.t list -> doc_file list
val deps : string list -> package list
val pkg_to_dir_map : unit -> fpaths_of_package * package_of_fpath
val pp : Format.formatter -> package -> unit
val prefix : unit -> string
OCaml

Innovation. Community. Security.