Get the final destination a specific package needs to be stored in.
Determines if a specific path is within a DUB managed Location.
Looks up a package, first in the list of loaded packages, then directly on the file system.
Looks up already-loaded packages at a specific version
Scan this location
Scan the content of a folder (packagePath or in searchPaths), and add all packages that were found to this location.
List of packages stored under packagePath and automatically detected
List of manually registered packages at this Location and stored in local-packages.json
List of overrides stored at this Location
The absolute path to the root of the location
Configured (extra) search paths for this Location
A managed location, with packages, configuration, and overrides
There exists three standards locations, listed in PlacementLocation. The user one is the default, with the system and local one meeting different needs.
Each location has a root, under which the following may be found: - A packages/ directory, where packages are stored (see packagePath); - A local-packages.json file, with extra search paths and manually added packages (see dub add-local); - A local-overrides.json file, with manually added overrides (dub add-override);
Additionally, each location host a config file, which is not managed by this module, but by dub itself.