Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant