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.
gitea/models/db
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
..
install
paginator
common.go
consistency.go Add `context.Context` to more methods (#21546) 2 years ago
context.go Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
context_test.go Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
convert.go
engine.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
engine_test.go Add `context.Context` to more methods (#21546) 2 years ago
error.go Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
index.go
index_test.go Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
iterate.go Merge db.Iterate and IterateObjects (#21641) 2 years ago
iterate_test.go Merge db.Iterate and IterateObjects (#21641) 2 years ago
list_options.go
log.go
main_test.go
name.go Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2 years ago
search.go
sequence.go Add `context.Context` to more methods (#21546) 2 years ago
sql_postgres_with_schema.go