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.
1 parent 46da91b commit c9e8bf1c3b368275ae623dfb4e32cad46b5a2958
@Mathias Lang Mathias Lang authored on 4 Jan 2024
Showing 1 changed file
View
source/dub/packagemanager.d