You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/api/v1
zeripath fb5af37b3e
Add Close() method to gogitRepository (#8901) (#8958)
Backport #8901 - Adjusted slightly for 1.9

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
5 years ago
..
admin add pagination for admin api get orgs and fix only list public orgs bug (#7742) (#7752) 6 years ago
convert Hide some user information via API if user have no enough permission (#8655) (#8658) 5 years ago
misc Add golangci (#6418) 6 years ago
org Fix team user api (#8172) (#8188) 6 years ago
repo Add Close() method to gogitRepository (#8901) (#8958) 5 years ago
swagger Fixes #7292 - API File Contents bug (#7301) 6 years ago
user Fix 500 when getting user as unauthenticated user (#8662) 5 years ago
utils Webhook Logs show proper HTTP Method, and allow change HTTP method in form (#6953) 6 years ago
api.go Add Close() method to gogitRepository (#8901) (#8958) 5 years ago