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

Should something like temp_dir be added? #43

Open
soc opened this issue Aug 15, 2018 · 3 comments
Open

Should something like temp_dir be added? #43

soc opened this issue Aug 15, 2018 · 3 comments

Comments

@soc
Copy link
Collaborator

soc commented Aug 15, 2018

As far as I remember from the last time I looked into this, the problem was that operating systems had wildly different definitions of temp dirs and their usage.

@sigoden
Copy link

sigoden commented Mar 1, 2019

use std::env::temp_dir

@soc
Copy link
Collaborator Author

soc commented Mar 1, 2019

That there exists a function is not indicative that its semantics make sense (similar to std::env::home_dir).

@Weasy666
Copy link

Weasy666 commented May 25, 2019

I am also in favor of integrating that into this crate.
std::env::temp_dir currently doesn't include MacOS (or does that use the same temp folder as Linux? i don't think so) so there would be some value for doing it here. And...also...for sake of completeness it should be available here 😉

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

3 participants