-
Notifications
You must be signed in to change notification settings - Fork 125
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
Allow changing the keep
bool after a temporary directory's initialization
#315
Comments
I'll leave this up to you :D |
I'm not sure I understand the request. Based on the title, I'd suggest you use |
Sorry for the chaotic-ness of my issue. Your suggestion seems interesting and looks like a better way than the one I wanted, I completely missed it! Do you think I should document |
I heavily rely on
tempfile
for a research project's sandbox that I am working on, and I need to test whether a file (stored inside of a temporary directory using the crate) exists inside a temporary directory. However, I do not want to / I am not able to to build functionality that selectively setskeep
to true depending on whether I am using a test.It would be great if I could enable this option after initializing the temporary directory for testing purposes.
Thank you for working on this crate!
The text was updated successfully, but these errors were encountered: