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.
forgejo/services/repository
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163)
* Remove `db.DefaultContext` usage in routers, use `ctx` directly

* Use `ctx` directly if there is one, remove some `db.DefaultContext` in `services`

* Use ctx instead of db.DefaultContext for `cmd` and some `modules` packages

* fix incorrect context usage
2 years ago
..
archiver Pause queues (#15928) 2 years ago
files Set is_empty in fixtures (#18869) 2 years ago
adopt.go Use IterateBufferSize whilst querying repositories during adoption check (#19140) 2 years ago
adopt_test.go format with gofumpt (#18184) 2 years ago
avatar.go Some repository refactors (#17950) 3 years ago
avatar_test.go Some repository refactors (#17950) 3 years ago
branch.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
cache.go Move repository model into models/repo (#17933) 3 years ago
check.go Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
fork.go Fix forked repositories missed tags (#18719) 2 years ago
fork_test.go Some repository refactors (#17950) 3 years ago
hooks.go Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
main_test.go Decouple unit test code from business code (#17623) 3 years ago
push.go Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
repository.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
template.go Some repository refactors (#17950) 3 years ago
transfer.go Fix rename notification bug (#18008) 3 years ago
transfer_test.go Move repository model into models/repo (#17933) 3 years ago