module Gitlab::Client::Repositories
def tree(project, options = {})
-
(Gitlab::ObjectifiedHash)
-
Options Hash:
(**options)
-
:per_page
(Integer
) -- Number of results to show per page (default = 20) -
:ref
(String
) -- The name of a repository branch or tag. -
:path
(String
) -- The path inside repository.
Parameters:
-
options
(Hash
) -- A customizable set of options. -
project
(Integer, String
) -- The ID or name of a project.
def tree(project, options = {}) get("/projects/#{url_encode project}/repository/tree", query: options) end