Skip to content
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

/tmp is not available on non UNIX OSs #73

Open
Hamcha opened this issue Mar 31, 2022 · 0 comments
Open

/tmp is not available on non UNIX OSs #73

Hamcha opened this issue Mar 31, 2022 · 0 comments

Comments

@Hamcha
Copy link

Hamcha commented Mar 31, 2022

The default cache and repository config paths are set in /tmp/* (as in here), a path not available in non-UNIX OSs like Windows.

These paths should be either calculated using os.TempDir (which isn't the cleanest solution, but probably takes the least to implement), or use os.MkdirTemp and just cleanup the directory afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant