Module Artifact
: sigendBuildartifactstypet
Metadata for a single compilation artifact:
-the module name associated to the artifact
-the filesystem path
-the input source file if it exists
valsource_file : t->Unit_info.filenameoptionsource_filea is the source file of a if it exists.
valprefix : t->Unit_info.file_prefixprefixa is the filename prefix of the compilation artifact.
valfilename : t->Unit_info.filenamefilenameu is the filesystem path for a compilation artifact.
valmodname : t->Unit_info.modnamemodnamea is the module name of the compilation artifact.
valfrom_filename : Unit_info.filename->tfrom_filenamefilename reconstructs the module name modname_from_sourcefilename associated to the
artifact filename .
OCamldoc 2025-06-12 Unit_info.Artifact(3o)