0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-29 08:54:56 +01:00
gitea/routers/api/v1/repo
Lunny Xiao b167f35113
Add context parameter to some database functions (#26055)
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 (#25369) 2023-06-29 23:22:55 +00:00
blob.go
branch.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
collaborators.go
commits.go
file.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
fork.go
git_hook.go
git_ref.go
hook.go
hook_test.go
issue.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
issue_attachment.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
issue_comment.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
issue_comment_attachment.go For API attachments, use API URL (#25639) 2023-07-10 09:31:19 +00:00
issue_dependency.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
issue_label.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
issue_pin.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
issue_reaction.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
issue_stopwatch.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
issue_subscription.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
issue_tracked_time.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
key.go
label.go
language.go
main_test.go
migrate.go
milestone.go
mirror.go Use correct response code in push mirror creation response in v1_json.tmpl (#25476) 2023-06-28 22:00:19 +00:00
notes.go
patch.go Sync branches into databases (#22743) 2023-06-29 10:03:20 +00:00
pull.go
pull_review.go
release.go For API attachments, use API URL (#25639) 2023-07-10 09:31:19 +00:00
release_attachment.go For API attachments, use API URL (#25639) 2023-07-10 09:31:19 +00:00
release_tags.go For API attachments, use API URL (#25639) 2023-07-10 09:31:19 +00:00
repo.go Support copy protected branch from template repository (#25889) 2023-07-21 12:32:47 +08:00
repo_test.go
star.go
status.go
subscriber.go
tag.go
teams.go
topic.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
transfer.go
tree.go
wiki.go