mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-14 21:15:18 +08: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. |
||
|---|---|---|
| .. | ||
| tests/repos | ||
| actions.go | ||
| default_branch.go | ||
| hook_post_receive_test.go | ||
| hook_post_receive.go | ||
| hook_pre_receive.go | ||
| hook_proc_receive.go | ||
| hook_verification_test.go | ||
| hook_verification.go | ||
| internal_repo.go | ||
| internal.go | ||
| key.go | ||
| mail.go | ||
| main_test.go | ||
| manager_process.go | ||
| manager_unix.go | ||
| manager_windows.go | ||
| manager.go | ||
| restore_repo.go | ||
| serv.go | ||
| ssh_log.go | ||