Unit_info.Artifact
type t
Metadata for a single compilation artifact:
val source_file : t -> filename option
source_file a is the source file of a if it exists.
source_file a
a
val prefix : t -> file_prefix
prefix a is the filename prefix of the compilation artifact.
prefix a
val filename : t -> filename
filename u is the filesystem path for a compilation artifact.
filename u
val modname : t -> modname
modname a is the module name of the compilation artifact.
modname a
val from_filename : filename -> t
from_filename filename reconstructs the module name modname_from_source filename associated to the artifact filename.
from_filename filename
modname_from_source filename
filename