2017-02-16 02:08:30 +00:00
|
|
|
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,
|
2017-05-03 11:27:17 +00:00
|
|
|
relative_path: relative_path
|
2017-04-06 14:54:15 +00:00
|
|
|
)
|
|
|
|
end
|
2017-02-16 02:08:30 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|