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

storage/fs: handle os.Rename() error #603

Closed

Conversation

ahmethakanbesel
Copy link
Contributor

@ahmethakanbesel ahmethakanbesel commented Jul 20, 2023

If os.Rename() fails, creates a copy of the file by using os.WriteFile() without renaming the original file, then deletes the initial file.

@ahmethakanbesel ahmethakanbesel marked this pull request as ready for review July 20, 2023 20:34
@ahmethakanbesel ahmethakanbesel requested a review from a team as a code owner July 20, 2023 20:34
@ahmethakanbesel ahmethakanbesel requested review from ilkinulas and sonmezonur and removed request for a team July 20, 2023 20:34
@ahmethakanbesel ahmethakanbesel marked this pull request as draft July 20, 2023 21:06
@ahmethakanbesel ahmethakanbesel deleted the fix-windows-access-denied branch July 21, 2023 20:39
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.

1 participant