0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 22:55:17 +01:00
gitea/modules
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
..
analyze
auth Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
avatar
base
cache Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
charset
context [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
convert Add migrate from OneDev (#16356) 2021-08-22 00:47:45 +02:00
cron
csv Fixes #16557 - duplicate csv import (#16631) 2021-08-05 17:56:11 +01:00
doctor Restore creation of git-daemon-export-ok files (#16508) 2021-07-22 12:53:54 +01:00
emoji
eventsource Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
generate
git Fix git.Blob.DataAsync(): close pipe since we return a NopCloser (#16899) 2021-08-31 08:43:31 +01:00
gitgraph
graceful Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
hcaptcha
highlight Just use a slice when rendering file (#16774) 2021-08-23 22:23:39 +01:00
httpcache
httplib Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
indexer Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
json Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
lfs Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
log Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
markup In Render tolerate not being passed a context (#16842) 2021-08-28 21:15:56 +01:00
matchlist
metrics Separate open and closed issue in metrics (#16637) 2021-08-07 12:43:50 +03:00
migrations Ignore review comment when ref commit is missed (#16905) 2021-09-01 12:33:07 +01:00
nosql Fix setting redis db path (#15698) 2021-05-03 13:24:24 -04:00
notification Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
options Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
password
pprof
private Fix dump and restore respository (#16698) 2021-08-30 21:18:15 -04:00
process
proxy Return nil proxy function if proxy not enabled (#16742) 2021-08-19 16:41:20 -04:00
public Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
queue Use immediate queues in integration tests and ensure that immediate (#16927) 2021-09-03 11:20:57 +01:00
recaptcha Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
references
repofiles Simplify split diff view generation and remove JS dependency (#16775) 2021-08-29 15:28:04 +01:00
repository Refactor the fork service slightly to take ForkRepoOptions (#16744) 2021-08-28 16:37:14 +08:00
secret
session Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
setting Remove ParseQueueConnStr as it is unused (#16878) 2021-08-31 05:33:16 +02:00
ssh
storage Close storage objects before cleaning (#16934) 2021-09-03 11:48:49 +01:00
structs Add migrate from OneDev (#16356) 2021-08-22 00:47:45 +02:00
svg Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
sync
task Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
templates Report the correct number of pushes on the feeds (#16811) 2021-08-25 19:04:58 -04:00
test
timeutil
translation
typesniffer
upload
uri
user Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
util Handle too long PR titles correctly (#16517) 2021-07-25 03:59:27 +01:00
validation
web