Module Unit_info.Artifact
Build artifacts
Metadata for a single compilation artifact:
- the module name associated to the artifact
- the filesystem path
- the input source file if it exists
val source_file : Unit_info.Artifact.t -> Unit_info.filename optionsource_file a is the source file of a if it exists.
val prefix : Unit_info.Artifact.t -> Unit_info.file_prefixprefix a is the filename prefix of the compilation artifact.
val filename : Unit_info.Artifact.t -> Unit_info.filenamefilename u is the filesystem path for a compilation artifact.
val modname : Unit_info.Artifact.t -> Unit_info.modnamemodname a is the module name of the compilation artifact.
val from_filename : Unit_info.filename -> Unit_info.Artifact.tfrom_filename filename reconstructs the module name lax_modname_from_source filename associated to the artifact filename.