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

Managed temporary files #323

Open
quelgar opened this issue Mar 13, 2021 · 0 comments
Open

Managed temporary files #323

quelgar opened this issue Mar 13, 2021 · 0 comments

Comments

@quelgar
Copy link
Contributor

quelgar commented Mar 13, 2021

It would be useful to have variants of the Files.createTemp* methods that returned ZManaged. When the managed value is released, the temporary file will be deleted.

Maybe we should offer only ZManaged versions of these.

vitaliihonta pushed a commit to vitaliihonta/zio-nio that referenced this issue Mar 19, 2021
vitaliihonta pushed a commit to vitaliihonta/zio-nio that referenced this issue Mar 19, 2021
vitaliihonta added a commit to vitaliihonta/zio-nio that referenced this issue Mar 28, 2021
quelgar added a commit that referenced this issue Apr 5, 2021
#327)

* [#323] added Files.createTemp* Managed methods; added Files.deleteRecursive method

* [#323] added default arguments to createTempFileManaged

Co-authored-by: Vitalii Honta <[email protected]>
Co-authored-by: Lachlan O'Dea <[email protected]>
svroonland pushed a commit that referenced this issue Aug 9, 2021
#327)

* [#323] added Files.createTemp* Managed methods; added Files.deleteRecursive method

* [#323] added default arguments to createTempFileManaged

Co-authored-by: Vitalii Honta <[email protected]>
Co-authored-by: Lachlan O'Dea <[email protected]>
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

1 participant