You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do not make a copy of PUB_CACHE, just create an empty one instead. (#4032)
Copying my 11GB `PUB_CACHE` crashed `createThrowawayPubCache`, something
about `Link`. But fundamentally, it's probably almost as fast to just
download the packages again.
And if we really want to avoid downloading the `PUB_CACHE` we could
avoid `global activate`, or create a `PUB_CACHE` we can clone inside
`.dart_tool/`.
But creating a copy of the default `PUB_CACHE` is not likely to be
faster, and probably harder to do, since you can have entire git
checkouts, and legacy packages that were extracted with system `tar`
which might have symlinks inside them 🙈
(You could also argue I should clean up my 11GB `PUB_CACHE`, 🤣)
0 commit comments