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 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
5 years ago
..
admin Password Complexity Checks (#6230) 5 years ago
convert Hide some user information via API if user have no enough permission (#8655) (#8657) 5 years ago
misc Use gitea forked macaron (#7933) 6 years ago
org API endpoint for searching teams. (#8108) 5 years ago
repo Add Close() method to gogitRepository (#8901) (#8956) 5 years ago
swagger Add API endpoint for accessing repo topics (#7963) 6 years ago
user Fix 500 when getting user as unauthenticated user (#8653) (#8663) 5 years ago
utils Implement webhook branch filter (#7791) 6 years ago
api.go Add Close() method to gogitRepository (#8901) (#8956) 5 years ago