giget
giget copied to clipboard
Move cache directory on Windows to AppData
Describe the feature
The disk cache folder on Windows resides in C:\Users\<user>\.cache\giget, which applies Linux/macOS standards to Windows. I suggest we move it to the correct Windows folder, which would be C:\Users\<user>\AppData\Local\Temp\giget.
https://github.com/unjs/giget/blob/a2acbcc422975be9a9c338a96cc9d894a5053711/src/_utils.ts#L96-L100
Explanation of the issue: https://github.com/dotnet/templating/issues/852
Additional information
- [X] Would you be willing to help implement this feature?
Thanks for suggestion. PR welcome for change 👍🏼