FindlibUnits
provides compilation unit inference queries for
findlib packages.
#
name
| : string | ; | (* | The name of the module the compilation unit represents | *) |
#
path
| : string | ; | (* | The path where the compilation unit is found | *) |
#
cmi
| : string | ; | (* | The filename of the cmi containing the unit | *) |
#
source
| : source | ; | (* | The means by which the unit's membership was inferred | *) |
An identified compilation unit
Note: if multiple top-level packages share an installation
directory, only those units which can be found through archives or
META files are included and no paths will be searched. This means
that these queries may miss certain units such as those that
describe module interfaces with only types and lack .ml
implementations. In the case of subpackages, loose .cmi
files
are associated to the top-level package.