Skip to content

List pub cache location: pub cache show #1107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DartBot opened this issue Jun 5, 2015 · 4 comments
Closed

List pub cache location: pub cache show #1107

DartBot opened this issue Jun 5, 2015 · 4 comments
Labels
closed-not-planned Closed as we don't intend to take action on the reported issue type-enhancement A request for a change that isn't a bug

Comments

@DartBot
Copy link

DartBot commented Jun 5, 2015

Originally opened as dart-lang/sdk#20652

This issue was originally filed by [email protected]


Hi,

At least on Windows, it's hard to see where the cache is located. Could we have an option to list the pub cache location(s)?

Regards,
Guillermo

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/2108507?v=3" align="left" width="48" height="48"hspace="10"> Comment by dgrove


Added Area-Pub, Triaged labels.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3


It always defaults to $APPDATA/Pub/Cache on Windows. I don't think it's worth adding a command to print this out.


Added NotPlanned label.

@DartBot DartBot added type-enhancement A request for a change that isn't a bug closed-not-planned Closed as we don't intend to take action on the reported issue labels Jun 5, 2015
@DartBot DartBot closed this as completed Jun 5, 2015
@gspencergoog
Copy link
Contributor

The cache can also be placed in a location pointed to by the PUB_CACHE env var, so it would be good to be able to print out the actual path that pub is planning to use. This would help Flutter in that we wouldn't need to duplicate the cache location selection logic (sure, not complicated, but still) before calling pub in order to print out the one we think it is using.

@jmagman
Copy link
Contributor

jmagman commented Jul 16, 2020

This would have helped us when the default location changed on Windows: #2297.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-not-planned Closed as we don't intend to take action on the reported issue type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

3 participants