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

Replace os.Rename with common.Rename #31

Merged
merged 2 commits into from
Dec 1, 2020
Merged

Conversation

andrewkroh
Copy link
Owner

common.Rename tries to use os.Rename but falls-back to copy/delete on
failure. This allows operation across disks to succeed.

Also add better error handling in the extract functions.

common.Rename tries to use os.Rename but falls-back to copy/delete on
failure. This allows operation across disks to succeed.
@andrewkroh andrewkroh merged commit 9c6bbb8 into master Dec 1, 2020
@andrewkroh andrewkroh deleted the retry-rename-copy branch January 16, 2021 00:49
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.

None yet

1 participant