package odoc

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

A root can be seen as a unique representative of a odoc file.

Roots are used by doc-ock (at the root of every resolved path/identifier/reference) and present at the beginning of every .odoc file.

module Package : sig ... end
module Odoc_file : sig ... end
type t = {
  1. id : Paths.Identifier.OdocId.t;
  2. file : Odoc_file.t;
  3. digest : Digest.t;
}
val equal : t -> t -> bool
val hash : t -> int
val compare : t -> t -> int
val to_string : t -> string
module Hash_table : Hashtbl.S with type key = t
val contains_double_underscore : string -> bool
OCaml

Innovation. Community. Security.