1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-15 22:54:24 +00:00
gitea/routers/api/v1
zeripath 3497efac4a
Add Close() method to gogitRepository (#8901) (#8956)
Backport #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 13:54:04 +00:00
..
admin Password Complexity Checks (#6230) 2019-10-14 16:24:26 +01:00
convert Hide some user information via API if user have no enough permission (#8655) (#8657) 2019-10-24 08:59:53 +03:00
misc Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
org API endpoint for searching teams. (#8108) 2019-10-01 13:32:28 +08:00
repo Add Close() method to gogitRepository (#8901) (#8956) 2019-11-13 13:54:04 +00:00
swagger Add API endpoint for accessing repo topics (#7963) 2019-09-03 23:46:24 +08:00
user Fix 500 when getting user as unauthenticated user (#8653) (#8663) 2019-10-25 13:09:15 +01:00
utils Implement webhook branch filter (#7791) 2019-09-09 08:48:21 +03:00
api.go Add Close() method to gogitRepository (#8901) (#8956) 2019-11-13 13:54:04 +00:00