LeastAuthority / wormhole-client

A magic-wormhole client in Haskell
GNU General Public License v3.0
6 stars 1 forks source link

send: clean up all temporary directories after use #72

Closed vu3rdd closed 4 years ago

vu3rdd commented 4 years ago

Create a temporary directory for other functions to use and later remove it after use. For file transfer, copy the file into that directory. For directory transfer, use the passed temporary directory to construct the zip. Use bracket to cleanup the temporary directory.


This change is Reviewable