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