gitea/modules/storage
zeripath 076bb8a2a2
Close storage objects before cleaning (#16934)
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 #16932

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-09-03 11:48:49 +01:00
..
helper.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
local.go Retry rename on lock induced failures (#16435) 2021-07-15 11:46:07 -04:00
minio.go Add size to Save function (#15264) 2021-04-03 18:19:59 +02:00
storage.go Close storage objects before cleaning (#16934) 2021-09-03 11:48:49 +01:00