gitea/modules
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
analyze Fix incorrect vendored detections (#36508) 2026-02-01 10:35:51 +00:00
assetfs Fix theme discovery and Vite dev server in dev mode (#37033) 2026-03-30 14:59:10 +00:00
auth Update Go dependencies (#36781) 2026-04-01 11:26:52 +08:00
avatar Replace custom Go formatter with `golangci-lint fmt` (#37194) 2026-04-17 17:45:22 +00:00
badge
base Fix incorrect setting loading order (#36735) 2026-02-24 23:46:08 +08:00
cache
cachegroup
charset Improve control char rendering and escape button styling (#37094) 2026-04-06 11:07:33 +00:00
commitstatus Update Combine method to treat warnings as failures and adjust tests (#37048) 2026-03-31 17:22:18 +00:00
container
csv
dump
emoji Update emoji data for Unicode 16 (#36596) 2026-02-12 21:39:36 +00:00
eventsource Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
fileicon Add FOLDER_ICON_THEME configuration option (#36496) 2026-01-30 20:48:56 +00:00
generate Remove error returns from crypto random helpers and callers (#37240) 2026-04-17 00:59:26 +08:00
git refactor: simplify ParseCatFileTreeLine and catBatchParseTreeEntries (#37210) 2026-04-14 12:03:26 +00:00
gitrepo Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
glob
globallock
graceful Replace custom Go formatter with `golangci-lint fmt` (#37194) 2026-04-17 17:45:22 +00:00
gtprof
hcaptcha Clean up Makefile, tests and legacy code (#36638) 2026-02-19 01:23:32 +00:00
highlight Improve control char rendering and escape button styling (#37094) 2026-04-06 11:07:33 +00:00
hostmatcher Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
htmlutil Fix markup heading parsing, fix emphasis parsing (#36284) 2026-01-23 20:24:58 +00:00
httpcache Refactor avatar package, support default avatar fallback (#36788) 2026-03-01 13:32:35 +00:00
httplib Pass ServeHeaderOptions by value instead of pointer, fine tune httplib tests (#36982) 2026-03-25 16:07:59 -07:00
indexer Improve control char rendering and escape button styling (#37094) 2026-04-06 11:07:33 +00:00
issue/template
json Fix corrupted JSON caused by goccy library (#37214) 2026-04-14 14:00:20 +00:00
label
lfs Feature non-zipped actions artifacts (action v7) (#36786) 2026-03-26 00:37:48 +08:00
lfstransfer Correct spelling (#36783) 2026-02-28 11:23:20 -08:00
log
markup Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
mcaptcha
metrics
migration Replace custom Go formatter with `golangci-lint fmt` (#37194) 2026-04-17 17:45:22 +00:00
nosql
optional Fix API not persisting pull request unit config when has_pull_requests is not set (#36718) 2026-03-02 22:08:53 +00:00
options Replace custom Go formatter with `golangci-lint fmt` (#37194) 2026-04-17 17:45:22 +00:00
packages Swift registry metadata: preserve more JSON fields and accept empty metadata (#37254) 2026-04-18 04:16:26 +08:00
paginator
pprof
private feat: Add configurable permissions for Actions automatic tokens (#36173) 2026-03-21 15:39:47 -07:00
process
proxy
proxyprotocol
public Frontend iframe renderer framework: 3D models, OpenAPI (#37233) 2026-04-17 22:30:17 +00:00
queue
recaptcha Fix URLJoin, markup render link reoslving, sign-in/up/linkaccount page common data (#36861) 2026-03-08 15:57:37 +00:00
references
regexplru
repository feat: Add configurable permissions for Actions automatic tokens (#36173) 2026-03-21 15:39:47 -07:00
reqctx
secret
session Replace custom Go formatter with `golangci-lint fmt` (#37194) 2026-04-17 17:45:22 +00:00
setting Remove outdated RunUser logic (#37180) 2026-04-12 02:52:12 +00:00
sitemap
ssh
storage Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
structs Add webhook name field to improve webhook identification (#37025) (#37040) 2026-04-01 09:56:20 +08:00
svg Add render cache for SVG icons (#36863) 2026-03-10 05:26:16 +00:00
system
tailmsg
tempdir
templates Replace custom Go formatter with `golangci-lint fmt` (#37194) 2026-04-17 17:45:22 +00:00
test tests/integration: simplify code (#37249) 2026-04-17 20:33:49 +08:00
testlogger Refactor LDAP tests (#37274) 2026-04-18 19:32:49 +00:00
timeutil Clean up Makefile, tests and legacy code (#36638) 2026-02-19 01:23:32 +00:00
translation Fix various trivial problems (#36953) 2026-03-23 18:23:42 +00:00
turnstile
typesniffer Feature non-zipped actions artifacts (action v7) (#36786) 2026-03-26 00:37:48 +08:00
updatechecker
uri
user
util Remove error returns from crypto random helpers and callers (#37240) 2026-04-17 00:59:26 +08:00
validation Fix corrupted JSON caused by goccy library (#37214) 2026-04-14 14:00:20 +00:00
web Remove dead code identified by `deadcode` tool (#37271) 2026-04-20 07:52:48 +00:00
webhook actions: report commit status for pull_request_review events (#36589) 2026-02-20 16:12:22 +00:00
zstd