= 1024" x-on:close-sidebar="sidebar=window.innerWidth >= 1024 && true">
ON THIS PAGE
Legend:
Library
Module
Module type
Parameter
Class
Class type
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
module Digest = Digest
val hash : t -> int
val create : package:Package.t -> file:Odoc_file.t -> digest:Digest.t -> t
Accessors
val file : t -> Odoc_file.t
Serialization
val to_string : t -> string
Useful for debugging
val load : string -> in_channel -> t
load fn ic
reads a t
from ic
. fn
is the name of the file ic
is "watching", and is used for error reporting.
val save : out_channel -> t -> unit
save oc t
marshalls t
to oc
.
module Xml : sig ... end
XML de/serialization.