gitea/modules/util
zeripath 74bd9691c6
Re-attempt to delete temporary upload if the file is locked by another process (#12447)
Replace all calls to os.Remove/os.RemoveAll by retrying util.Remove/util.RemoveAll and remove circular dependencies from util.

Fix #12339

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: silverwind <me@silverwind.io>
2020-08-11 21:05:34 +01:00
..
compare.go inform participants on UI too (#10473) 2020-02-28 05:16:41 -03:00
path.go Stop using git count-objects and use raw directory size for repository (#8848) 2019-11-10 21:33:47 +00:00
remove.go Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
sanitize.go Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
sanitize_test.go Sanitize credentials in mirror form (#9975) 2020-01-25 10:57:42 +00:00
timer.go Prevent timer leaks in Workerpool and others (#11333) 2020-05-08 16:46:05 +01:00
url.go Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
util.go Convert EOL to UNIX-style to render MD properly (#8925) 2019-11-13 03:27:11 +01:00
util_test.go Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00