debian-mirror-gitlab/lib/gitlab/gitaly_client/util.rb
2017-09-10 17:25:29 +05:30

14 lines
303 B
Ruby

module Gitlab
module GitalyClient
module Util
class << self
def repository(repository_storage, relative_path)
Gitaly::Repository.new(
storage_name: repository_storage,
relative_path: relative_path
)
end
end
end
end
end