0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 10:04:24 +01:00
gitea/routers
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
..
admin Fix new user form for non-local users (#8826) 2019-11-04 21:10:37 +02:00
api/v1 Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
dev
org Allow to add and remove all repositories to/from team. (#8867) 2019-11-09 08:39:37 +08:00
private
repo Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
routes
user Improve notification (#8835) 2019-11-12 16:33:34 +08:00
utils
home.go
init.go Move webhook to a standalone package under modules (#8747) 2019-11-01 22:51:22 +00:00
install.go
metrics.go
swagger_json.go