gitea/models/db
Lunny Xiao 9a70a12a34
Merge db.Iterate and IterateObjects ()
These two functions are similiar, merge them.
..
install Improve install code to avoid low-level mistakes. ()
paginator Use a struct as test options ()
common.go Modify milestone search keywords to be case insensitive again ()
consistency.go Move issues related files into models/issues ()
context.go Merge db.Iterate and IterateObjects ()
convert.go Refactor auth package ()
engine.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) ()
engine_test.go test: use `T.TempDir` to create temporary test directory ()
error.go Make every not exist error unwrappable to a fs.ErrNotExist ()
index.go Refactor GetNextResourceIndex to make it work properly with transaction ()
index_test.go Refactor GetNextResourceIndex to make it work properly with transaction ()
iterate.go Merge db.Iterate and IterateObjects ()
iterate_test.go Merge db.Iterate and IterateObjects ()
list_options.go Add more linters to improve code readability ()
log.go Allow manager logging to set SQL ()
main_test.go Move tests as seperate sub packages to reduce duplicated file names ()
name.go Make every not exist error unwrappable to a fs.ErrNotExist ()
search.go Move user related model into models/user ()
sequence.go Move db related basic functions to models/db ()
sql_postgres_with_schema.go Add more linters to improve code readability ()