mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-19 00:00:34 +01:00
651fe4bb7d
The recent PR adding orphaned checks to the LFS storage is not sufficient to completely GC LFS, as it is possible for LFSMetaObjects to remain associated with repos but still need to be garbage collected. Imagine a situation where a branch is uploaded containing LFS files but that branch is later completely deleted. The LFSMetaObjects will remain associated with the Repository but the Repository will no longer contain any pointers to the object. This PR adds a second doctor command to perform a full GC. Signed-off-by: Andrew Thornton <art27@cantab.net> |
||
---|---|---|
.. | ||
activities | ||
admin | ||
asymkey | ||
auth | ||
avatars | ||
db | ||
fixtures | ||
foreignreference | ||
git | ||
issues | ||
migrations | ||
organization | ||
packages | ||
perm | ||
project | ||
pull | ||
repo | ||
system | ||
unit | ||
unittest | ||
user | ||
webhook | ||
error.go | ||
fixture_generation.go | ||
fixture_test.go | ||
main_test.go | ||
migrate_test.go | ||
migrate.go | ||
org_team_test.go | ||
org_team.go | ||
org_test.go | ||
org.go | ||
repo_collaboration_test.go | ||
repo_collaboration.go | ||
repo_test.go | ||
repo_transfer_test.go | ||
repo_transfer.go | ||
repo.go | ||
user.go |