Refactor async download code
Split things up a little so the generic async fetch can live with the other fetch utils. This also makes it easier to test. Change the exception handling so that any exception in fetching is propagated when collecting the fetch result.
Showing
- cabal-install/Distribution/Client/FetchUtils.hs 67 additions, 1 deletioncabal-install/Distribution/Client/FetchUtils.hs
- cabal-install/Distribution/Client/ProjectBuilding.hs 25 additions, 48 deletionscabal-install/Distribution/Client/ProjectBuilding.hs
- cabal-install/cabal-install.cabal 2 additions, 0 deletionscabal-install/cabal-install.cabal
Loading
Please register or sign in to comment