aboutsummaryrefslogtreecommitdiffstats
path: root/models/repo/attachment_test.go
Commit message (Collapse)AuthorAgeFilesLines
* More refactoring of `db.DefaultContext` (#27083)JakobDev2023-09-151-4/+4
| | | Next step of #27065
* Implement FSFE REUSE for golang files (#21840)flynnnnnnnnnn2022-11-271-2/+1
| | | | | | | | | Change all license headers to comply with REUSE specification. Fix #16132 Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github> Co-authored-by: John Olheiser <john.olheiser@gmail.com>
* Move some repository related code into sub package (#19711)Lunny Xiao2022-06-061-16/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move some repository related code into sub package * Move more repository functions out of models * Fix lint * Some performance optimization for webhooks and others * some refactors * Fix lint * Fix * Update modules/repository/delete.go Co-authored-by: delvh <dev.lh@web.de> * Fix test * Merge * Fix test * Fix test * Fix test * Fix test Co-authored-by: delvh <dev.lh@web.de>
* Move almost all functions' parameter db.Engine to context.Context (#19748)Lunny Xiao2022-05-201-8/+8
| | | | * Move almost all functions' parameter db.Engine to context.Context * remove some unnecessary wrap functions
* Move attachment into models/repo/ (#17650)Lunny Xiao2021-11-191-0/+104
* Move attachment into models/repo/ * Fix test * Fix bug