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
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546)
This PR adds a context parameter to a bunch of methods. Some helper
`xxxCtx()` methods got replaced with the normal name now.

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2 years ago
..
archiver Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
files Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
adopt.go Add `context.Context` to more methods (#21546) 2 years ago
adopt_test.go Fix repository adoption on Windows (#21646) 2 years ago
avatar.go Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
avatar_test.go Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
branch.go Add `context.Context` to more methods (#21546) 2 years ago
cache.go Slightly simplify LastCommitCache (#20444) 2 years ago
check.go Merge db.Iterate and IterateObjects (#21641) 2 years ago
fork.go Add `context.Context` to more methods (#21546) 2 years ago
fork_test.go Move some files into models' sub packages (#20262) 2 years ago
hooks.go Merge db.Iterate and IterateObjects (#21641) 2 years ago
main_test.go Use a struct as test options (#19393) 2 years ago
push.go Add `context.Context` to more methods (#21546) 2 years ago
repository.go Add `context.Context` to more methods (#21546) 2 years ago
repository_test.go Move some repository related code into sub package (#19711) 2 years ago
review.go Move some repository related code into sub package (#19711) 2 years ago
review_test.go Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
template.go Add `context.Context` to more methods (#21546) 2 years ago
transfer.go Add `context.Context` to more methods (#21546) 2 years ago
transfer_test.go Move some files into models' sub packages (#20262) 2 years ago