Raynes / fs

File system utilities for Clojure.
453 stars 119 forks source link

Adds `ephemeral-{file,dir}` fns #100

Closed mjg123 closed 7 years ago

mjg123 commented 8 years ago

These are the same as temp-{file,dir} but set .deleteOnExit on the created things so they are removed when the JVM shuts down.

It was not possible to add a :delete-on-exit arg to the existing temp-{file,dir} fns as they are variadic.

Raynes commented 7 years ago

neat

kjothen commented 7 years ago

Hi - would it be possible to push the version that includes the ephemeral-{file,dir} fns to clojars please? I don't see these fns in 1.4.6...thanks!