= 1024" x-on:close-sidebar="sidebar=window.innerWidth >= 1024 && true">
package odoc
-
odoc.compat
-
odoc.loader
-
odoc.model
-
-
odoc.parser
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val load :
string ->
in_channel ->
(Odoc_model.Root.t, [> Or_error.msg ]) Or_error.result
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 read : Fs.File.t -> (Odoc_model.Root.t, [> Or_error.msg ]) Or_error.result
read f
opens f
for reading and then calls load
.
val save : out_channel -> Odoc_model.Root.t -> unit
save oc t
marshalls t
to oc
.