Module Odig.Cobj

module Cobj: sig .. end
OCaml compilation objects and their dependencies.

Compilation objects

module Digest: sig .. end
Compilation object digests.
type mli 
The type for mli files.
type cmi 
The type for cmi files.
type cmti 
The type for cmti files.
type cmo 
The type for cmo files.
type cma 
The type for cma files.
type cmx 
The type for cmx files.
type cmxa 
The type for cmxa files.
type cmxs 
The type for cmxs files.
module Mli: sig .. end
mli files.
module Cmi: sig .. end
cmi files.
module Cmti: sig .. end
cmti files.
module Cmo: sig .. end
cmo files.
module Cma: sig .. end
cma files.
module Cmx: sig .. end
cmx files.
module Cmxa: sig .. end
cmxa files.
module Cmxs: sig .. end
cmxs files.

Sets of compilation objects.

type set 
The type for sets of compilation objects.
val empty_set : set
empty_set is an empty set of compilation objects.
val mlis : set -> mli list
mlis s is the list of mlis contained in s.
val cmis : set -> cmi list
cmis s is the list of cmis contained in s.
val cmtis : set -> cmti list
cmtis s is the list of cmtis contained in s.
val cmos : ?files:bool -> set -> cmo list
cmos ~files s is the list of cmos contained in s. If files is true (defaults to false), only the cmo files are listed and cmos that are part of cma files are omitted.
val cmas : set -> cma list
cmas s is the list of cmas contained in s.
val cmxs : ?files:bool -> set -> cmx list
cmxs ~files s is the list of cmxs contained in s. If files is true (defaults to false), only the cmx files are listed and cmxs that are part of cmxa files are omitted.
val cmxas : set -> cmxa list
cmxa s is the list of cmxas contained in s.
val cmxss : set -> cmxs list
cmxss s is the list of cmxss contained in s.
val set_of_dir : Fpath.t -> set
set_of_dir d is the set of compilation objects that are present in the file hierarchy rooted at d.

Warning. This is a best-effort function, it will log on errors and continue (at worst you'll get an Odig.Cobj.empty_set).