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.
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
..
colors.go Refactor Logger (#13294) 4 years ago
colors_router.go Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
conn.go Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
conn_test.go Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
console.go Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
console_test.go Fixed assert statements. (#16089) 3 years ago
console_windows.go Fix windows build error (#14263) 3 years ago
errors.go Better logging (#6038) (#6095) 5 years ago
event.go Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777) 4 years ago
file.go Retry rename on lock induced failures (#16435) 3 years ago
file_test.go Fixed assert statements. (#16089) 3 years ago
flags.go Log: Ensure FLAGS=none is -1 (#9287) 5 years ago
level.go Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
level_test.go Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
log.go Update docs and comments to remove macaron (#14491) 3 years ago
log_test.go Fixed assert statements. (#16089) 3 years ago
logger.go Refactor Logger (#13294) 4 years ago
multichannel.go Refactor Logger (#13294) 4 years ago
provider.go Better logging (#6038) (#6095) 5 years ago
smtp.go Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
smtp_test.go Fixed assert statements. (#16089) 3 years ago
stack.go Update golangci-lint to version 1.31.0 (#13102) 4 years ago
writer.go Removed unnecessary conversions (#7557) 5 years ago
writer_test.go Fixed assert statements. (#16089) 3 years ago