0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-03-09 20:31:41 +01:00
gitea/modules
zeripath 722a7c902d
Add Close() method to gogitRepository (#8901)
In investigating #7947 it has become clear that the storage component of go-git repositories needs closing.

This PR adds this Close function and adds the Close functions as necessary.

In TransferOwnership the ctx.Repo.GitRepo is closed if it is open to help prevent the risk of multiple open files.

Fixes #7947
2019-11-13 07:01:19 +00:00
..
auth
avatar
base
cache
charset
context
convert
cron Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751) 2019-10-14 09:10:42 +03:00
generate
git
graceful
gzip
highlight
httplib
indexer
lfs
log
markup
metrics
migrations
minwinsvc
notification
options
password
pprof
private
process
public
recaptcha
references
repofiles
search
secret
session
setting
ssh
structs
sync
task
templates
test
timeutil
upload
user
util
validation
webhook