gitea/modules/storage
zeripath 5cb5101720
Close storage objects before cleaning () ()
Backport 

Storage.Iterate provides the path and an open object. On windows using
local storage means that the objects will be locked thus preventing clean
from deleting them.

This PR simply closes the objects early.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-09-03 12:17:07 +01:00
..
helper.go Code Formats, Nits & Unused Func/Var deletions () 2021-04-09 09:40:34 +02:00
local.go Retry rename on lock induced failures () 2021-07-15 11:46:07 -04:00
minio.go Add size to Save function () 2021-04-03 18:19:59 +02:00
storage.go Close storage objects before cleaning () () 2021-09-03 12:17:07 +01:00