gitea/models
silverwind aba87285f0
Remove dead code identified by `deadcode` tool (#37271)
Ran [`deadcode`](https://pkg.go.dev/golang.org/x/tools/cmd/deadcode)
(`-test ./...`) to find functions, methods and error types unreachable
from any call path (including tests), and removed the truly-dead ones.

Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com>
2026-04-20 07:52:48 +00:00
..
actions Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
activities Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
admin Don't block site admin's operation if SECRET_KEY is lost (#35721) 2025-10-22 12:35:56 +08:00
asymkey Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
auth Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
avatars Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
db Replace custom Go formatter with `golangci-lint fmt` (#37194) 2026-04-17 17:45:22 +00:00
dbfs Fix dbfs error handling (#36844) 2026-03-07 00:28:46 +08:00
fixtures Remove unneeded doctor sub-commands (#37156) 2026-04-09 22:22:17 +02:00
git Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
issues Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
migrations Replace custom Go formatter with `golangci-lint fmt` (#37194) 2026-04-17 17:45:22 +00:00
organization Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
packages Swift registry metadata: preserve more JSON fields and accept empty metadata (#37254) 2026-04-18 04:16:26 +08:00
perm Fix issue label deletion with Actions tokens (#37013) 2026-03-29 09:21:14 +00:00
project Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
pull Fix incorrect viewed files counter if file has changed (#36009) 2025-11-27 14:02:03 +00:00
renderhelper Frontend iframe renderer framework: 3D models, OpenAPI (#37233) 2026-04-17 22:30:17 +00:00
repo Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
secret Don't block site admin's operation if SECRET_KEY is lost (#35721) 2025-10-22 12:35:56 +08:00
shared/types Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
system Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
unit Run `gopls modernize` on codebase (#34751) 2025-06-18 01:48:09 +00:00
unittest Clean up Makefile, tests and legacy code (#36638) 2026-02-19 01:23:32 +00:00
user Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
webhook Add webhook name field to improve webhook identification (#37025) (#37040) 2026-04-01 09:56:20 +08:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
repo.go Replace custom Go formatter with `golangci-lint fmt` (#37194) 2026-04-17 17:45:22 +00:00
repo_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00