mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-09 03:11:51 +01:00
722a7c902d
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 |
||
---|---|---|
.. | ||
api.go | ||
api_org.go | ||
api_test.go | ||
auth.go | ||
context.go | ||
org.go | ||
pagination.go | ||
panic.go | ||
permission.go | ||
repo.go |