Affected by GO-2025-4258
and 2 other vulnerabilities
GO-2025-4258: Gitea mishandles authorization for deletion of releases in code.gitea.io/gitea
GO-2025-4261: Gitea allows attackers to add attachments with forbidden file extensions in code.gitea.io/gitea
GO-2026-4274: Gitea's /api/v1/user endpoint has different responses for failed authentication depending on whether a username exists in code.gitea.io/gitea
type Indexer interface {
Index(id int64) error Close()
}
Indexer defines an interface to index repository stats
TODO: this indexer is quite different from the others, maybe this package should be moved out from module/indexer