Module Odig.Cobj.Cmo

module Cmo: sig .. end
cmo files.


Cmo


type t = Odig.Cobj.cmo 
The type for cmo files.
val read : Fpath.t -> (Odig.Cobj.cmo, [ `Msg of string ]) Pervasives.result
read f reads a cmo file from f.
val name : Odig.Cobj.cmo -> string
name cmo is the name of the module implementation.
val cmi_digest : Odig.Cobj.cmo -> Odig.Cobj.digest
cmi_digest cmo is the digest of the module interface of the implementation.
val cmi_deps : Odig.Cobj.cmo -> Odig.Cobj.dep list
cmi_deps cmo is the list of imported module interfaces names with their digest, if known.
val cma : Odig.Cobj.cmo -> Odig.Cobj.cma option
cma cmo is an enclosing cma file (if any).
val path : Odig.Cobj.cmo -> Fpath.t
path cmo is the file path to the cmo file. Note that this is a cma file if cma cmo is Some _.

Derived information


val to_cmi_dep : Odig.Cobj.cmo -> Odig.Cobj.dep
to_cmi_dep cmo is cmo as a cmi dependency.