Unit_info.ArtifactMetadata for a single compilation artifact:
original_source_file a is the original source file of a if it exists. See Unit_info.original_source_file for a description of the distinction of "original" vs "raw" source file
raw_source_file a is the raw source file of a if it exists. See Unit_info.raw_source_file for a description of the distinction of "original" vs "raw" source file
val prefix : t -> file_prefixprefix a is the filename prefix of the compilation artifact.
val modname : t -> Compilation_unit.tmodname a is the module name of the compilation artifact.
val from_filename : for_pack_prefix:Compilation_unit.Prefix.t -> filename -> tfrom_filename ~for_pack_prefix filename reconstructs the module name modname_from_source filename associated to the artifact filename, assuming the pack prefix is for_pack_prefix.