gitlab-org--gitlab-foss/lib/gitlab/gitaly_client/util.rb

15 lines
303 B
Ruby
Raw Normal View History

module Gitlab
module GitalyClient
module Util
2017-04-06 14:54:15 +00:00
class << self
def repository(repository_storage, relative_path)
Gitaly::Repository.new(
storage_name: repository_storage,
relative_path: relative_path
2017-04-06 14:54:15 +00:00
)
end
end
end
end
end