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/modules/context
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
..
api.go Add Close() method to gogitRepository (#8901) (#8958) 5 years ago
api_org.go Golint fixed for modules/context 8 years ago
api_test.go fix API link header (#7298) 6 years ago
auth.go API OTP Context (#6674) 6 years ago
context.go Fix Go 1.13 private repository go get issue (#8100) 6 years ago
org.go Use AppSubUrl for more redirections (#8647) (#8652) 5 years ago
pagination.go Add golangci (#6418) 6 years ago
panic.go Better logging (#6038) (#6095) 6 years ago
permission.go Trace Logging on Permission Denied & ColorFormat (#6618) 6 years ago
repo.go Add Close() method to gogitRepository (#8901) (#8958) 5 years ago