0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-03-03 08:02:17 +01:00
gitea/routers/api/v1/repo
Lunny Xiao b167f35113
Add context parameter to some database functions ()
To avoid deadlock problem, almost database related functions should be
have ctx as the first parameter.
This PR do a refactor for some of these functions.
2023-07-22 22:14:27 +08:00
..
avatar.go Add API for changing Avatars () 2023-06-29 23:22:55 +00:00
blob.go
branch.go Add context parameter to some database functions () 2023-07-22 22:14:27 +08:00
collaborators.go
commits.go
file.go Add context parameter to some database functions () 2023-07-22 22:14:27 +08:00
fork.go Fix Permission in API returned repository struct () 2023-06-22 13:08:08 +00:00
git_hook.go
git_ref.go
hook.go Fix Permission in API returned repository struct () 2023-06-22 13:08:08 +00:00
hook_test.go
issue.go Add context parameter to some database functions () 2023-07-22 22:14:27 +08:00
issue_attachment.go Add context parameter to some database functions () 2023-07-22 22:14:27 +08:00
issue_comment.go Add context parameter to some database functions () 2023-07-22 22:14:27 +08:00
issue_comment_attachment.go For API attachments, use API URL () 2023-07-10 09:31:19 +00:00
issue_dependency.go Add context parameter to some database functions () 2023-07-22 22:14:27 +08:00
issue_label.go Add context parameter to some database functions () 2023-07-22 22:14:27 +08:00
issue_pin.go Add context parameter to some database functions () 2023-07-22 22:14:27 +08:00
issue_reaction.go Add context parameter to some database functions () 2023-07-22 22:14:27 +08:00
issue_stopwatch.go Add context parameter to some database functions () 2023-07-22 22:14:27 +08:00
issue_subscription.go Add context parameter to some database functions () 2023-07-22 22:14:27 +08:00
issue_tracked_time.go Add context parameter to some database functions () 2023-07-22 22:14:27 +08:00
key.go Fix Permission in API returned repository struct () 2023-06-22 13:08:08 +00:00
label.go
language.go
main_test.go
migrate.go Fix Permission in API returned repository struct () 2023-06-22 13:08:08 +00:00
milestone.go
mirror.go Use correct response code in push mirror creation response in v1_json.tmpl () 2023-06-28 22:00:19 +00:00
notes.go
patch.go Sync branches into databases () 2023-06-29 10:03:20 +00:00
pull.go
pull_review.go
release.go For API attachments, use API URL () 2023-07-10 09:31:19 +00:00
release_attachment.go For API attachments, use API URL () 2023-07-10 09:31:19 +00:00
release_tags.go For API attachments, use API URL () 2023-07-10 09:31:19 +00:00
repo.go Support copy protected branch from template repository () 2023-07-21 12:32:47 +08:00
repo_test.go
star.go
status.go Fix Permission in API returned repository struct () 2023-06-22 13:08:08 +00:00
subscriber.go
tag.go
teams.go
topic.go Replace interface{} with any () 2023-07-04 18:36:08 +00:00
transfer.go Fix Permission in API returned repository struct () 2023-06-22 13:08:08 +00:00
tree.go
wiki.go