Merge branch 'gitlink' of github.com:viletyy/gitea-client into gitlink

This commit is contained in:
viletyy 2022-07-15 11:46:29 +08:00
commit 1ec1dd8a5f
1 changed files with 4 additions and 0 deletions

View File

@ -69,6 +69,10 @@ module Gitea
@http.get("/repos/#{owner}/#{repo}/branches/branches_slice", opt)
end
def get_repos_branches_branches_slice_by_owner_repo(owner, repo, opt = {})
@http.get("/repos/#{owner}/#{repo}/branches/branches_slice", opt)
end
def get_repos_branches_by_owner_repo_branch(owner, repo, branch, opt = {})
@http.get("/repos/#{owner}/#{repo}/branches/#{branch}", opt)
end