You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/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>
3 years ago
..
helper.go Code Formats, Nits & Unused Func/Var deletions (#15286) 3 years ago
local.go Retry rename on lock induced failures (#16435) 3 years ago
minio.go Add size to Save function (#15264) 3 years ago
storage.go Fix archive error when rename repo or user (#16399) 3 years ago