New issue
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
[filesystem] copy_on_windows option for mirror() is misleading #25798
Comments
@SamMousa do you still want to work on this ? |
Yeah sure but it needs review, before that it makes no sense to make a PR. |
Hey, thanks for your report! |
Hello? This issue is about to be closed if nobody replies. |
. |
Hey, thanks for your report! |
It is still relevant. |
I agree that this is confusing. Is there anything that needs to be done for this to be reviewed? |
Hey, thanks for your report! |
|
Is this a bug? Or isn't that a new feature to rename the option? |
Hey, thanks for your report! |
|
The option
copy_on_windows
suggests the option is either Windows only or behaves differently for Windows.As far as I can tell all the option does is enable symlink traversal. Symlink traversal can make sense on other OSes as well:
I think the option should be called
follow_symlinks
. I propose changing the name of the argument and updating the documentation. The old option can still be supported for BC but should be marked deprecated and be removed in a future BC break.The text was updated successfully, but these errors were encountered: