forgejo/models/git
Giteabot 9654d71bb2
Fix bugs in LFS meta garbage collection (#26122) (#26157)
Backport #26122 by @Zettat123

This PR

- Fix #26093. Replace `time.Time` with `timeutil.TimeStamp`
- Fix #26135. Add missing `xorm:"extends"` to `CountLFSMetaObject` for
LFS meta object query
- Add a unit test for LFS meta object garbage collection

Co-authored-by: Zettat123 <zettat123@gmail.com>
(cherry picked from commit a12d036a6856846f8ab52dd8acf3ed21f5a77036)
2023-07-30 07:43:05 +02:00
..
branches.go Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
branches_test.go Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
commit_status.go Fix index generation parallelly failure (#25235) (#25269) 2023-06-15 02:14:00 +00:00
commit_status_test.go Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
lfs.go Fix bugs in LFS meta garbage collection (#26122) (#26157) 2023-07-30 07:43:05 +02:00
lfs_lock.go Introduce path Clean/Join helper functions (#23495) 2023-03-21 16:02:49 -04:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
protected_banch_list_test.go Fix branch protection priority (#24045) 2023-04-11 13:22:49 -04:00
protected_branch.go Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2023-02-18 20:11:03 +08:00
protected_branch_list.go Fix branch protection priority (#24045) 2023-04-11 13:22:49 -04:00
protected_branch_test.go Supports wildcard protected branch (#20825) 2023-01-16 16:00:22 +08:00
protected_tag.go Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
protected_tag_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00