mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-15 03:51:32 +01:00
Introduce RequestContext: is a short-lived context that is used to store request-specific data. RequestContext could be used to clean form tmp files, close context git repo, and do some tracing in the future. Then a lot of legacy code could be removed or improved. For example: most `ctx.Repo.GitRepo.Close()` could be removed because the git repo could be closed when the request is done. |
||
---|---|---|
.. | ||
upload | ||
access_log.go | ||
api_org.go | ||
api_test.go | ||
api.go | ||
base_test.go | ||
base.go | ||
captcha.go | ||
context_cookie.go | ||
context_model.go | ||
context_request.go | ||
context_response.go | ||
context_template.go | ||
context_test.go | ||
context.go | ||
csrf.go | ||
org.go | ||
package.go | ||
pagination.go | ||
permission.go | ||
private.go | ||
repo.go | ||
response.go | ||
user.go | ||
utils.go | ||
xsrf_test.go | ||
xsrf.go |