PackageManager: Move the scanning logic to Location, segment per Location
Before this change, all packages were surprisingly stored in m_internal.localPackages,
which itself is a new addition to replace an array of 'Package'.
This means that even though we had an architecture that looks like it segmented
things per repository / location, it actually didn't,
and things worked solely based on the order packages were added it
(and the fact we did a linear search).
1 parent a29608b commit bb4015d2a04d1e5ff0128b2eeb09c30f323561e7
@Geod24 Geod24 authored on 5 Sep 2022
Mathias LANG committed on 10 Sep 2022
Showing 1 changed file
View
source/dub/packagemanager.d