Simplify PackageManager's Location.lookup
The VersionMatchMode is a property of the Location,
not a property of the package, hence we can make
use of a Location attribute to get it,
removing a dependency on the PackageManager
and streamlining the code.
1 parent 8d06f25 commit 44852b8b7fd7bbc7d614f8e256f546b6e91f045a
@Mathias Lang Mathias Lang authored on 4 Jan 2024
Mathias LANG committed on 4 Jan 2024
Showing 1 changed file
View
source/dub/packagemanager.d