1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/routers/api/v1/repo
wxiaoguang cb700aedd1
Split "modules/context.go" to separate files (#24569)
The "modules/context.go" is too large to maintain.

This PR splits it to separate files, eg: context_request.go,
context_response.go, context_serve.go

This PR will help:

1. The future refactoring for Gitea's web context (eg: simplify the context)
2. Introduce proper "range request" support
3. Introduce context function

This PR only moves code, doesn't change any logic.
2023-05-08 17:36:54 +08:00
..
blob.go
branch.go Fix protected branch for API (#24013) 2023-04-09 22:52:16 -04:00
collaborators.go
commits.go
file.go
fork.go Fix api error message if fork exists (#24487) 2023-05-02 20:26:38 -04:00
git_hook.go Move convert package to services (#22264) 2022-12-29 10:57:15 +08:00
git_ref.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
hook_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
hook.go Add user webhooks (#21563) 2023-03-10 08:28:32 -06:00
issue_attachment.go Preserve file size when creating attachments (#23406) 2023-03-12 03:48:07 -04:00
issue_comment_attachment.go
issue_comment.go
issue_dependency.go Add API to manage issue dependencies (#17935) 2023-03-28 13:23:25 -04:00
issue_label.go
issue_reaction.go
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go
issue.go
key.go
label.go
language.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
main_test.go Merge setting.InitXXX into one function with options (#24389) 2023-05-04 11:55:35 +08:00
migrate.go
milestone.go Move convert package to services (#22264) 2022-12-29 10:57:15 +08:00
mirror.go Add sync_on_commit option for push mirrors api (#22271) 2022-12-30 19:22:51 +08:00
notes.go
patch.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
pull_review.go
pull.go
release_attachment.go
release_tags.go
release.go
repo_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
repo.go Split "modules/context.go" to separate files (#24569) 2023-05-08 17:36:54 +08:00
star.go
status.go
subscriber.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
tag.go
teams.go
topic.go Move convert package to services (#22264) 2022-12-29 10:57:15 +08:00
transfer.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
tree.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
wiki.go Pass 'not' to commit count (#24473) 2023-05-08 07:10:53 +00:00