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

add keep support to TempDir #195

Closed
wants to merge 1 commit into from

Conversation

ethanpailes
Copy link

This patch adds keep() support to TempDir. Rather than using mem::forget() tricks like NamedTempFile does, it just uses a flag, which I think is a little easier to follow, though does require an extra byte of memory footprint.

Closes #194

This patch adds keep() support to TempDir. Rather than
using mem::forget() tricks like NamedTempFile does, it just
uses a flag, which I think is a little easier to follow, though
does require an extra byte of memory footprint.

Closes Stebalien#194
@Stebalien
Copy link
Owner

See #194 (comment).

@Stebalien Stebalien closed this Oct 20, 2022
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.

feature request: add support for keeping TempDir
2 participants