Trivial: Add a isManaged property to Location
Since isManagedPath is only used from PackageManager, we want to move to a more fine grained approach, starting with the Location. At the moment the Locations iterate over all the Locations, via the PackageManager, when they could realistically just check if the Package they are dealing with is managed by them, as it would be a bug to have a Package from one Location passed to another. |
---|
|
source/dub/packagemanager.d |
---|