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

Change workdir default to ${XDG_CACHE_HOME}/leaktk #7

Merged
merged 1 commit into from
Feb 26, 2023
Merged

Change workdir default to ${XDG_CACHE_HOME}/leaktk #7

merged 1 commit into from
Feb 26, 2023

Conversation

thewizzy
Copy link
Contributor

The cache directory is generally longer lived than system temporary directories. The behavior of env::temp_dir() is that it will land on $TMPDIR then /tmp on unix.

It is unlikely that dirs::cache_dir will return none on a supported OS but just in case reverting to env::temp_dir().

The cache dir is generally longer lived than system temporary
directories. The behaviour of env::temp_dir() is that it will land on
$TMPDIR then /tmp on unix.
It is unlikely that dirs::cache_dir will return none on a supported OS
but just in case reverting to env::temp_dir().
src/config.rs Show resolved Hide resolved
@bplaxco bplaxco merged commit 22b8bd6 into leaktk:main Feb 26, 2023
@thewizzy thewizzy deleted the workdir-default branch February 27, 2023 00:54
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

Successfully merging this pull request may close these issues.

2 participants