Move the I/O part of Project.loadSelections to PackageManager
By doing so we can remove a sizeable amount of duplication as well as the last `Dub.loadPackage` override. The resulting API is not ideal, for example it doesn't allow to distinguish between parsing errors and non-existent file, but will have to do for now. |
---|
|
source/dub/dub.d |
---|
source/dub/internal/configy/Read.d |
---|
source/dub/packagemanager.d |
---|
source/dub/project.d |
---|
source/dub/test/base.d |
---|