File::deleteRecursively follows symbolic links

A call to File::deleteRecursively() will follows symbolic links and deletes their content. This is not the expected behaviour. I think it should be deleting the symbolic link instead. At least the documentation should have a warning.

1 Like

OK, I’ve added a flag now to File::deleteRecursively whether to follow symlinks or not. The default now is not to follow symlinks.

The change will appear on develop in a few minutes with commit 6d55fe7.


Great work! That went fast. Thanks!