dlang / dub

Package and build management system for D
MIT License
678 stars 227 forks source link

PackMan: Deprecate overload leaking location path #2477

Closed Geod24 closed 2 years ago

Geod24 commented 2 years ago

Currently, a lot of the internals of the PackageManager are leaking. The getPackage overload accepting both a version and a NativePath is an example of such a leak, and looking at the usage sites show that things can be simplified by taking a PlacementLocation, which is a higher level representation of the path.