2020-05-12 00:10:11 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Gitlab
|
|
|
|
module ImportExport
|
|
|
|
class DesignRepoSaver < RepoSaver
|
2021-01-21 15:08:36 +00:00
|
|
|
extend ::Gitlab::Utils::Override
|
2020-05-12 00:10:11 +00:00
|
|
|
|
2021-01-21 15:08:36 +00:00
|
|
|
override :repository
|
|
|
|
def repository
|
|
|
|
@repository ||= exportable.design_repository
|
2020-05-12 00:10:11 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
private
|
|
|
|
|
2021-01-21 15:08:36 +00:00
|
|
|
override :bundle_filename
|
|
|
|
def bundle_filename
|
|
|
|
::Gitlab::ImportExport.design_repo_bundle_filename
|
2020-05-12 00:10:11 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|