0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-27 19:27:53 +01:00
gitea/routers/private
Jason Song 7adc2de464
Use context parameter in models/git (#22367)
After #22362, we can feel free to use transactions without
`db.DefaultContext`.

And there are still lots of models using `db.DefaultContext`, I think we
should refactor them carefully and one by one.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-01-09 11:50:54 +08:00
..
default_branch.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
hook_post_receive.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
hook_pre_receive.go Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
hook_proc_receive.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
hook_verification.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
internal_repo.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
internal.go refactor bind functions based on generics (#22055) 2022-12-12 16:09:26 +08:00
key.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
mail.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
manager_process.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
manager_unix.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
manager_windows.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
manager.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
restore_repo.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
serv.go Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
ssh_log.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00