0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 01:24:32 +01:00
gitea/modules/storage
zeripath 33a8eec33e
Retry rename on lock induced failures (#16435)
* Retry rename on lock induced failures

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 #16427

Signed-off-by: Andrew Thornton <art27@cantab.net>

* resolve CI fail

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-07-15 11:46:07 -04:00
..
helper.go Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
local.go Retry rename on lock induced failures (#16435) 2021-07-15 11:46:07 -04:00
minio.go
storage.go Fix archive error when rename repo or user (#16399) 2021-07-13 14:16:31 +02:00