Module Opkg.Cobj.Cmo

module Cmo: sig .. end
cmo files.


type t = Opkg.Cobj.cmo 
The type for cmo files.
val read : Fpath.t -> (t, Bos_setup.R.msg) Bos_setup.result
read f reads a cmo file from f.
val name : Opkg.Cobj.cmo -> string
name cmo is the name of the module implemntation.
val cmi_digest : Opkg.Cobj.cmo -> Opkg.Cobj.Digest.t
cmi_digest cmo is the digest of the module interface of the implementation.
val cmi_deps : Opkg.Cobj.cmo -> (string * Opkg.Cobj.Digest.t option) list
cmi_deps cmo is the list of imported module interfaces names with their digest, if known.
val cma : Opkg.Cobj.cmo -> Opkg.Cobj.cma option
cma cmo is an enclosing cma file (if any).
val path : Opkg.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 _.