System.Directory.removeDirectoryRecursive and symlinks
Gracjan Polak
gracjanpolak at gmail.com
Tue Jun 10 15:37:12 UTC 2014
Isaac Dupree <ml <at> isaac.cedarswampstudios.org> writes:
> That statement should be removed from the documentation.
https://github.com/haskell/directory/pull/1
> Many Unix operations on
> symlinks, like `ls`, do differ based on a trailing slash. `rm -rf
> symlink` removes just the symlink; `rm -rf symlink/` appears to remove
> the contents of the target directory but neither the symlink nor the
> target directory itself...)
Sounds like a very reasonable idea and has prior art.
--
Gracjan
More information about the Libraries
mailing list