gitea/models/user
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
..
avatar.go Refactor avatar package, support default avatar fallback (#36788) 2026-03-01 13:32:35 +00:00
avatar_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
badge.go Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
badge_test.go Add user badges (#36752) 2026-03-22 15:49:45 +00:00
block.go Enable `nilnil` linter for new code (#36591) 2026-02-16 09:57:18 +00:00
email_address.go Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
email_address_test.go Fix a bug user could change another user's primary email (#36586) 2026-02-12 21:34:38 +01:00
error.go Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
external_login_user.go Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
follow.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
follow_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
list.go Correct spelling (#36783) 2026-02-28 11:23:20 -08:00
main_test.go
must_change_password.go Refactor error system (#33771) 2025-03-03 05:36:10 +00:00
openid.go Fix openid setting check (#36346) 2026-01-13 12:44:29 +00:00
openid_test.go Fix openid setting check (#36346) 2026-01-13 12:44:29 +00:00
redirect.go
redirect_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
search.go Add sorting/filtering to admin user search API endpoint (#36112) 2025-12-12 05:12:06 +01:00
setting.go Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
setting_options.go feat: Add configurable permissions for Actions automatic tokens (#36173) 2026-03-21 15:39:47 -07:00
setting_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
user.go Replace custom Go formatter with `golangci-lint fmt` (#37194) 2026-04-17 17:45:22 +00:00
user_list.go Run `gopls modernize` on codebase (#34751) 2025-06-18 01:48:09 +00:00
user_system.go Refactor ActionsTaskID (#36503) 2026-01-31 22:01:08 -08:00
user_system_test.go Refactor ActionsTaskID (#36503) 2026-01-31 22:01:08 -08:00
user_test.go use proper subaddress (#36639) 2026-02-16 01:42:22 +00:00
user_update.go