Proposal: removeDirectoryRecursive should not follow symlinks

Bardur Arantsson spam at scientician.net
Mon Jan 5 22:46:38 UTC 2015


On 2015-01-05 23:25, Edward Z. Yang wrote:
> 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.
> 
> This would bring its behavior inline with rm -rf.
> 
> I also opened a ticket here: https://ghc.haskell.org/trac/ghc/ticket/9266
> 
> Thanks,
> Edward
> 

+1 as is.

-1 on adding a deprecation cycle unless someone can come up with a
REALLY good reason for that.




More information about the Libraries mailing list