gitea/models/asymkey
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
..
error.go Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
gpg_key.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
gpg_key_add.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35428) 2025-09-10 03:15:01 +00:00
gpg_key_commit_verification.go Enable `nilnil` linter for new code (#36591) 2026-02-16 09:57:18 +00:00
gpg_key_common.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
gpg_key_import.go Final round of `db.DefaultContext` refactor (#27587) 2023-10-14 08:37:24 +00:00
gpg_key_list.go Move more functions to db.Find (#28419) 2024-01-15 02:19:25 +00:00
gpg_key_test.go Update to go 1.26.0 and golangci-lint 2.9.0 (#36588) 2026-02-11 18:37:13 +01:00
gpg_key_verify.go Fix incorrect pull request counter (#35819) 2025-11-03 20:52:13 +00:00
key_display.go Fix SSH signing key path will be displayed in the pull request UI (#35381) 2025-09-12 03:00:18 +00:00
main_test.go
ssh_key.go Fix user ssh key exporting and tests (#37256) 2026-04-17 16:57:20 +00:00
ssh_key_authorized_keys.go Fix regression in writing authorized principals (#36213) 2025-12-20 01:24:59 +00:00
ssh_key_authorized_keys_test.go Fix regression in writing authorized principals (#36213) 2025-12-20 01:24:59 +00:00
ssh_key_deploy.go Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
ssh_key_fingerprint.go Fix user's sign email check (#35045) 2025-07-12 15:13:01 +08:00
ssh_key_parse.go enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
ssh_key_principals.go Move some asymkey functions to service layer (#28894) 2024-03-04 08:57:39 +00:00
ssh_key_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
ssh_key_verify.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00