Improve Dub.fetch API
The API was not ideal, as it meant the caller has
to be a bit repetitive in what it was doing:
- defaultPlacementLocation should be used when possible;
- A library user would most likely want FetchOptions.none;
- The most simple use case would be 'dub.fetch(pkgName)',
  meaning get me the latest version of pkgName, as is used
  by the tools fetching code;
All of this is now supported, in addition to a transition
to using the PackageName API.
1 parent 74877a3 commit 824b0d096efacf5efe51f2cb560423eb39799b78
@Mathias Lang Mathias Lang authored on 17 Jan 2024
Mathias LANG committed on 17 Jan 2024
Showing 2 changed files
View
source/dub/commandline.d
View
source/dub/dub.d