We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
it looks like removeDirectoryRec follow/enter directories symlinks.. which I think should better not be by default.
the issue is that there is no option to not follow/enter directories symlink.
Could we foresee to have/add such an option flag/bool to the function signature ?
I would be happy to contribute if that would be agreed
-void removeDirectoryRec() { +void removeDirectoryRec(bool followSymlinks=false) { ... if (fh.isDirectory()) { + if(fh.isSymbolicLink() && !followSymlinks) + fh.remove(); + else fh.removeDirectoryRec(); }
The text was updated successfully, but these errors were encountered:
Looks good to me. If you create a PR, I will merge it in.
Sorry, something went wrong.
ok I will do that ASAP then, thanks for the answer :)
here it is : #40
Seems like we can close this issue. Thanks for contributing!
No branches or pull requests
Hi,
it looks like removeDirectoryRec follow/enter directories symlinks.. which I think should better not be by default.
the issue is that there is no option to not follow/enter directories symlink.
Could we foresee to have/add such an option flag/bool to the function signature ?
I would be happy to contribute if that would be agreed
The text was updated successfully, but these errors were encountered: