System.Directory.removeDirectoryRecursive and symlinks

Gracjan Polak gracjanpolak at
Tue Jun 10 15:37:12 UTC 2014

Isaac Dupree <ml <at>> writes:

> That statement should be removed from the documentation.
> 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.


More information about the Libraries mailing list