mirror of
https://github.com/go-gitea/gitea
synced 2025-01-05 07:24:25 +00:00
6d5aa9218e
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. |
||
---|---|---|
.. | ||
binding.go | ||
cookie.go | ||
data.go | ||
flash.go | ||
locale.go | ||
request.go |