module Gitlab::Client::Commits

def commit_refs(project, sha, options = {})

Returns:
  • (Gitlab::ObjectifiedHash) -

Options Hash: (**options)
  • :per_page (Integer) -- The number of results per page.
  • :page (Integer) -- The page number.
  • :type (String) -- The scope of commits. Possible values `branch`, `tag`, `all`. Default is `all`.

Parameters:
  • options (Hash) -- A customizable set of options.
  • sha (String) -- The commit hash
  • project (Integer, String) -- The ID or name of a project.
def commit_refs(project, sha, options = {})
  get("/projects/#{url_encode project}/repository/commits/#{sha}/refs", query: options)
end