NativePath to the root directory of the package
Optional path to the recipe file of the package
Optional (sub-)package name if known in advance. Required if a sub-package is to be returned.
Whether to issue errors, warning, or ignore unknown keys in dub.json
The packages loaded from the given path
Throws an exception if no package can be loaded
For a given package path, returns the corresponding package.
If the package is already loaded, a reference is returned. Otherwise the package gets loaded and cached for the next call to this function.