1
0
mirror of https://github.com/go-gitea/gitea synced 2025-02-24 15:31:29 +01:00
zeripath ca55e49cc0
Retry rename on lock induced failures () ()
Backport 

Due to external locking on Windows it is possible for an
os.Rename to fail if the files or directories are being
used elsewhere.

This PR simply suggests retrying the rename again similar
to how we handle the os.Remove problems.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-07-15 22:57:51 +03:00
..