Skip to content
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

Implement consistent, configurable overwriting behaviour for files and symlinks #229

Merged
merged 3 commits into from
Jun 17, 2020

Conversation

moschroe
Copy link
Contributor

Minor inconsistency, files were overwritten, symlinks were not. Now, this behaviour is consistent and configurable.

More specific PR in response to comments on #217

Would be nice to have an ability to overwrite symlinks.

I agree. @moschroe thank you for implementing this! Would you be wiling to split that change to a separate PR? I'm hopeful that will increase the chances of merging this feature.

Originally posted by @steveej in #217 (comment)

@alexcrichton
Copy link
Owner

Thanks! Could you be sure to add some tests for this as well?

@moschroe
Copy link
Contributor Author

I followed the existing code in only handling symlinks under #[cfg(unix)]

@alexcrichton alexcrichton merged commit 57c5aae into alexcrichton:master Jun 17, 2020
@alexcrichton
Copy link
Owner

Thanks!

@steveej
Copy link

steveej commented Aug 31, 2020

@alexcrichton It would be nice to have this change in a new release, please :-)

@alexcrichton
Copy link
Owner

Sure thing, done now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants