Proposal: removeDirectoryRecursive should not follow symlinks
Ben Gamari
bgamari.foss at gmail.com
Tue Jan 6 06:40:55 UTC 2015
"Edward Z. Yang" <ezyang at mit.edu> writes:
> Discussion period: one month
>
> I propose to backwards incompatibly change the behavior of
> removeDirectoryRecursive to not follow symlinks. We could optionally
> add a replacement function under a new name which does follow symlinks.
>
+1. The fact that this function (which I've reached for regularly)
behaves like this is unexpected and a bit terrifying. It's mildly
amazing that there haven't been more complaints of lost data due to this
behavior.
Cheers,
- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/libraries/attachments/20150106/f6adb942/attachment-0001.sig>
More information about the Libraries
mailing list