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 #197

Closed
wants to merge 1 commit into from
Closed

Conversation

ethanpailes
Copy link

This patch adds a keep() method to TempDir so that it better matches the interface of NamedTempFile.

Closes #194

This patch adds a keep() method to TempDir so that
it better matches the interface of NamedTempFile.

Closes Stebalien#194
@ethanpailes
Copy link
Author

I've updated the patch to return the path

@jayvdb
Copy link

jayvdb commented Mar 8, 2024

as this is just an alias for into_path , perhaps all that is needed is improved docs for into_path to help people recognise its effect?

@ethanpailes
Copy link
Author

Yeah, I think it is best not to duplicate functionality. I should have closed this a while ago.

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