1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 09:04:26 +00:00
gitea/routers/api/v1/repo
silverwind fc2d75f86d
Enable unparam linter (#31277)
Enable [unparam](https://github.com/mvdan/unparam) linter.

Often I could not tell the intention why param is unused, so I put
`//nolint` for those cases like webhook request creation functions never
using `ctx`.

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
2024-06-11 18:47:45 +00:00
..
action.go refactor: merge ListActionTasks func to action.go file (#30811) 2024-05-02 17:43:29 +00:00
avatar.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
blob.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
branch.go Fix branch_protection api shows users/teams who has no readAccess (#30291) 2024-04-17 15:24:07 +02:00
collaborators.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
commits.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
compare.go Enable unparam linter (#31277) 2024-06-11 18:47:45 +00:00
file.go Azure blob storage support (#30995) 2024-05-30 07:33:50 +00:00
fork.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
git_hook.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
git_ref.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
hook_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
hook.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
issue_attachment.go Prevent simultaneous editing of comments and issues (#31053) 2024-05-27 15:34:18 +00:00
issue_comment_attachment.go Prevent simultaneous editing of comments and issues (#31053) 2024-05-27 15:34:18 +00:00
issue_comment.go Prevent simultaneous editing of comments and issues (#31053) 2024-05-27 15:34:18 +00:00
issue_dependency.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
issue_label.go Support using label names when changing issue labels (#30943) 2024-05-13 04:28:53 +00:00
issue_pin.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
issue_reaction.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
issue_stopwatch.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
issue_subscription.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
issue_tracked_time.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
issue.go Prevent simultaneous editing of comments and issues (#31053) 2024-05-27 15:34:18 +00:00
key.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
label.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
language.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
migrate.go Fix "force private" logic (#31012) 2024-05-20 00:56:45 +00:00
milestone.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
mirror.go Add missed return after ctx.ServerError (#31130) 2024-05-28 12:31:59 +03:00
notes.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
patch.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
pull_review.go Prevent allow/reject reviews on merged/closed PRs (#30686) 2024-04-27 11:55:03 +00:00
pull.go Enable unparam linter (#31277) 2024-06-11 18:47:45 +00:00
release_attachment.go Add support for API blob upload of release attachments (#29507) 2024-03-02 17:02:01 +00:00
release_tags.go Protected tag is no internal server error (#30962) 2024-05-14 06:48:21 +00:00
release.go Protected tag is no internal server error (#30962) 2024-05-14 06:48:21 +00:00
repo_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
repo.go Fix "force private" logic (#31012) 2024-05-20 00:56:45 +00:00
star.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
status.go Cache repository default branch commit status to reduce query on commit status table (#29444) 2024-03-06 12:17:19 +00:00
subscriber.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
tag.go Protected tag is no internal server error (#30962) 2024-05-14 06:48:21 +00:00
teams.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
topic.go Refactor topic Find functions and add more tests for pagination (#30127) 2024-03-29 11:38:16 +08:00
transfer.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
tree.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
wiki.go Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00