Module Odig.Cobj.Cmx

module Cmx: sig .. end
cmx files.


Cmx


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

Derived information


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