Perhaps a risk of deleting the symlink target instead of the link itself? On 20 May 2015 at 15:46, Damien Cassou <damien.cassou@inria.fr> wrote:
The FileSystem library uses DeleteVisitor and PostorderGuide (depth-first) to delete a directory and all its children. All its children? No. Symlinks are protected from deletion:
DeleteVisitor>>visit: aReference PostorderGuide show: aReference to: self selecting: [ :entry | entry isSymlink not ]
I didn't find any unit-test or documentation about why symlinks are excluded from deletion. I don't see any reason. I'm quite sure the author had a reason to do that but I don't know which one.
Anybody has an idea?
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill
-- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet