debian-mirror-gitlab/lib/gitlab/gitaly_client/util.rb

15 lines
303 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
module Gitlab
module GitalyClient
module Util
class << self
def repository(repository_storage, relative_path)
Gitaly::Repository.new(
storage_name: repository_storage,
2017-09-10 17:25:29 +05:30
relative_path: relative_path
2017-08-17 22:00:37 +05:30
)
end
end
end
end
end