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

Use cache directory for state file #70

Closed
vv9k opened this issue Jul 22, 2021 · 0 comments · Fixed by #71
Closed

Use cache directory for state file #70

vv9k opened this issue Jul 22, 2021 · 0 comments · Fixed by #71
Labels
C-enhancement Categiry: New feature or request

Comments

@vv9k
Copy link
Owner

vv9k commented Jul 22, 2021

Currently the state file is saved in the current working directory when pkger is executed. It would be nice if the systems cache directory could be used to store the file.

This seems like the best approach:
https://docs.rs/dirs/3.0.2/dirs/fn.cache_dir.html

@vv9k vv9k added the C-enhancement Categiry: New feature or request label Jul 22, 2021
@vv9k vv9k closed this as completed in #71 Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Categiry: New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant