1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-30 22:31:36 +02:00
gitea/models
zeripath c772934ff6
Adjust gitea doctor --run storages to check all storage types (#21785)
The doctor check `storages` currently only checks the attachment
storage. This PR adds some basic garbage collection functionality for
the other types of storage.

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-11-15 16:08:59 +08:00
..
activities Allow detect whether it's in a database transaction for a context.Context (#21756) 2022-11-12 21:18:50 +01:00
admin
asymkey Allow detect whether it's in a database transaction for a context.Context (#21756) 2022-11-12 21:18:50 +01:00
auth Allow detect whether it's in a database transaction for a context.Context (#21756) 2022-11-12 21:18:50 +01:00
avatars Allow detect whether it's in a database transaction for a context.Context (#21756) 2022-11-12 21:18:50 +01:00
db Allow detect whether it's in a database transaction for a context.Context (#21756) 2022-11-12 21:18:50 +01:00
fixtures
foreignreference
git Adjust gitea doctor --run storages to check all storage types (#21785) 2022-11-15 16:08:59 +08:00
issues Allow detect whether it's in a database transaction for a context.Context (#21756) 2022-11-12 21:18:50 +01:00
migrations
organization Allow detect whether it's in a database transaction for a context.Context (#21756) 2022-11-12 21:18:50 +01:00
packages Adjust gitea doctor --run storages to check all storage types (#21785) 2022-11-15 16:08:59 +08:00
perm
project Allow detect whether it's in a database transaction for a context.Context (#21756) 2022-11-12 21:18:50 +01:00
pull
repo Adjust gitea doctor --run storages to check all storage types (#21785) 2022-11-15 16:08:59 +08:00
system Allow detect whether it's in a database transaction for a context.Context (#21756) 2022-11-12 21:18:50 +01:00
unit
unittest
user Adjust gitea doctor --run storages to check all storage types (#21785) 2022-11-15 16:08:59 +08:00
webhook Allow detect whether it's in a database transaction for a context.Context (#21756) 2022-11-12 21:18:50 +01:00
error.go
fixture_generation.go
fixture_test.go
main_test.go
migrate_test.go
migrate.go Allow detect whether it's in a database transaction for a context.Context (#21756) 2022-11-12 21:18:50 +01:00
org_team_test.go
org_team.go Allow detect whether it's in a database transaction for a context.Context (#21756) 2022-11-12 21:18:50 +01:00
org_test.go
org.go Allow detect whether it's in a database transaction for a context.Context (#21756) 2022-11-12 21:18:50 +01:00
repo_collaboration_test.go
repo_collaboration.go Allow detect whether it's in a database transaction for a context.Context (#21756) 2022-11-12 21:18:50 +01:00
repo_test.go
repo_transfer_test.go
repo_transfer.go Allow detect whether it's in a database transaction for a context.Context (#21756) 2022-11-12 21:18:50 +01:00
repo.go Allow detect whether it's in a database transaction for a context.Context (#21756) 2022-11-12 21:18:50 +01:00
user.go