gitea/models/issues
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
..
assignees.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35428) 2025-09-10 03:15:01 +00:00
assignees_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
comment.go Refactor flash message and remove SanitizeHTML template func (#37179) 2026-04-12 10:17:25 +08:00
comment_code.go Add resolve/unresolve review comment API endpoints (#36441) 2026-02-01 12:28:28 +00:00
comment_list.go Run `gopls modernize` on codebase (#34751) 2025-06-18 01:48:09 +00:00
comment_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
content_history.go
content_history_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
dependency.go Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
dependency_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
issue.go Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
issue_index.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
issue_label.go Fix issue label deletion with Actions tokens (#37013) 2026-03-29 09:21:14 +00:00
issue_label_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
issue_list.go Run `gopls modernize` on codebase (#34751) 2025-06-18 01:48:09 +00:00
issue_list_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
issue_lock.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
issue_pin.go Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
issue_project.go Add project column picker to issue and pull request sidebar (#37037) 2026-04-19 12:53:02 +00:00
issue_search.go Fix various bugs (#35684) 2025-10-19 00:37:50 +08:00
issue_stats.go Run `gopls modernize` on codebase (#34751) 2025-06-18 01:48:09 +00:00
issue_test.go Fix various bugs (#35684) 2025-10-19 00:37:50 +08:00
issue_update.go Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
issue_user.go
issue_user_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
issue_watch.go
issue_watch_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
issue_xref.go Fix issue label deletion with Actions tokens (#37013) 2026-03-29 09:21:14 +00:00
issue_xref_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
label.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
label_test.go Fix typos in code comments: doesnt, dont, wont (#36890) 2026-03-13 09:58:44 -07:00
main_test.go
milestone.go Closed milestones with no issues now show as 100% completed (#36220) 2025-12-20 16:16:20 +00:00
milestone_list.go feature to be able to filter project boards by milestones (#36321) 2026-02-12 22:09:32 +00:00
milestone_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
pull.go Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
pull_list.go Fix issue label deletion with Actions tokens (#37013) 2026-03-29 09:21:14 +00:00
pull_list_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
pull_test.go pull: Fix CODEOWNERS absolute path matching. (#37244) 2026-04-17 23:54:49 +02:00
reaction.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
review.go Fix issue label deletion with Actions tokens (#37013) 2026-03-29 09:21:14 +00:00
review_list.go Correct spelling (#36783) 2026-02-28 11:23:20 -08:00
review_test.go Fix CODEOWNERS review request attribution using comment metadata (#36348) 2026-01-16 14:52:57 +00:00
stopwatch.go Add more check for stopwatch read or list (#36340) 2026-01-13 13:13:39 +00:00
stopwatch_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
tracked_time.go Fix track time issue id (#36664) 2026-02-20 21:48:54 +00:00
tracked_time_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00