Module Odoc_odoc.Root
val load : string -> Stdlib.in_channel -> (Odoc_model.Root.t, [> Or_error.msg ]) Or_error.result
load fn ic
reads at
fromic
.fn
is the name of the fileic
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
opensf
for reading and then callsload
.
val save : Stdlib.out_channel -> Odoc_model.Root.t -> unit
save oc t
marshallst
tooc
.