mirror of
1
Fork 0
forgejo/modules/context
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
..
api.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
api_org.go Golint fixed for modules/context 2016-11-25 14:53:59 +08:00
api_test.go fix API link header (#7298) 2019-06-26 16:51:32 +08:00
auth.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
context.go Fix Go 1.13 private repository go get issue (#8112) 2019-09-06 21:44:59 +08:00
org.go Use AppSubUrl for more redirections (#8647) 2019-10-23 22:04:22 +01:00
pagination.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
panic.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
permission.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
repo.go Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00