forgejo-sdk/gitea
J0Nes90 4e4d6dd731 Add GetRepoByID (#511)
Add a function to get a repository by a given ID

Co-authored-by: Jochen Hunz <j.hunz@anchorpoint.app>
Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/511
Reviewed-by: 6543 <6543@obermui.de>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: J0Nes90 <j0nes90@noreply.gitea.io>
Co-committed-by: J0Nes90 <j0nes90@noreply.gitea.io>
2021-04-04 00:35:19 +08:00
..
admin_cron.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
admin_org.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
admin_repo.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
admin_test.go Update Test Data (#480) 2021-01-30 21:25:21 +08:00
admin_user.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
attachment.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
client.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
doc.go ask for go get from code.gitea.io/sdk/gitea 2016-11-11 21:52:21 +08:00
fork.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
git_blob.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
git_hook.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
go.mod Use Predefind Versions & Compare Function (#442) 2020-11-13 04:59:04 +08:00
go.sum Use Predefind Versions & Compare Function (#442) 2020-11-13 04:59:04 +08:00
helper.go Add Helper for Optional Values (#448) 2020-11-13 05:27:28 +08:00
hook.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
issue.go Drop deprecations (#503) 2021-03-31 00:36:33 +08:00
issue_comment.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
issue_comment_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
issue_label.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
Issue_label_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
issue_milestone.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
issue_milestone_test.go Milestone Functions accept name to identify (#418) 2020-09-15 16:29:24 +00:00
issue_reaction.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
issue_stopwatch.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
issue_subscription.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
issue_subscription_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
issue_test.go Add Ref to Issue structs (#466) 2020-12-16 06:16:31 +08:00
issue_tracked_time.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
list_options.go ListFunctions: option to disable pagination (#509) 2021-03-31 04:28:44 +08:00
main_test.go Make http requests with context (#417) 2020-09-15 16:21:40 +00:00
notifications.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
notifications_test.go Update Test Data (#480) 2021-01-30 21:25:21 +08:00
oauth2.go Use Predefind Versions & Compare Function (#442) 2020-11-13 04:59:04 +08:00
oauth2_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
org.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
org_member.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
org_member_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
org_team.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
pull.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
pull_review.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
pull_review_test.go Add Create/Delete ReviewRequests (#493) 2021-02-17 23:03:45 +08:00
pull_test.go Add workaround to get head branch sha of pulls with deleted head branch (#498) 2021-03-09 05:15:42 +08:00
release.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
release_test.go Add DeleteTag & Correct DeleteReleaseByTag (#488) 2021-02-14 00:14:24 +08:00
repo.go Add GetRepoByID (#511) 2021-04-04 00:35:19 +08:00
repo_branch.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
repo_branch_protection.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
repo_branch_test.go Add Helper for Optional Values (#448) 2020-11-13 05:27:28 +08:00
repo_collaborator.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
repo_commit.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
repo_commit_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_file.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
repo_file_test.go Handle Contents Edge-Case (#492) 2021-02-17 06:47:21 +08:00
repo_key.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
repo_migrate.go Update Structs (#486) 2021-02-14 03:24:00 +08:00
repo_refs.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
repo_stars.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
repo_stars_test.go Add Repo Un-Star Functions (#483) 2021-02-06 02:35:07 +08:00
repo_tag.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
repo_tag_test.go Add DeleteTag & Correct DeleteReleaseByTag (#488) 2021-02-14 00:14:24 +08:00
repo_test.go Add GetRepoByID (#511) 2021-04-04 00:35:19 +08:00
repo_topics.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
repo_topics_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_transfer.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
repo_transfer_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
repo_tree.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
repo_watch.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
repo_watch_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
settings.go Update Structs (#486) 2021-02-14 03:24:00 +08:00
settings_test.go Update Default Settings for Tests (#435) 2020-10-06 21:15:19 +00:00
status.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
status_test.go Fix GetCombinedStatus() (#470) 2020-12-17 12:46:51 +08:00
user.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
user_app.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
user_email.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
user_follow.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
user_gpgkey.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
user_key.go UrlEscape Function Arguments used in UrlPath (#273) 2021-03-22 04:20:32 +08:00
user_search.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00
user_test.go Add Helper for Optional Values (#448) 2020-11-13 05:27:28 +08:00
version.go Make Client thread-safe & Add docs (#495) 2021-03-05 04:19:55 +08:00
version_test.go All Function return http responce (#416) 2020-09-14 02:37:09 +00:00