Module Odig.Cobj.Cmi

module Cmi: sig .. end
cmi files.


type t = Odig.Cobj.cmi 
The type for cmi files.
val read : Fpath.t -> (Odig.Cobj.cmi, [ `Msg of string ]) Pervasives.result
read f reads a cmi file from f.
val name : Odig.Cobj.cmi -> string
name cmi is the name of the module interface.
val digest : Odig.Cobj.cmi -> Odig.Cobj.digest
digest cmi is the digest of the module interface.
val deps : Odig.Cobj.cmi -> Odig.Cobj.dep list
deps cmi is the list of imported module interfaces names with their digest, if known.
val path : Odig.Cobj.cmi -> Fpath.t
path cmi is the file path to the cmi file.

Derived information

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