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

Avoid using os.Rename() #269

Merged
merged 1 commit into from
Oct 20, 2022
Merged

Avoid using os.Rename() #269

merged 1 commit into from
Oct 20, 2022

Conversation

magodo
Copy link
Collaborator

@magodo magodo commented Oct 20, 2022

os.Rename() doesn't work for Windows when moving files across drives. Copy by bytes instead.

Fix #267

`os.Rename()` doesn't work for Windows when moving files across drives. Copy by bytes instead.
@magodo magodo added the bug Something isn't working label Oct 20, 2022
@magodo magodo merged commit 2dd0da8 into Azure:main Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ERROR: The system cannot move the file to a different disk drive.
1 participant