2018-06-06 16:42:18 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Gitlab
|
|
|
|
module GithubImport
|
2020-02-19 18:09:10 +00:00
|
|
|
class ImportLfsObjectWorker # rubocop:disable Scalability/IdempotentWorker
|
2018-06-06 16:42:18 +00:00
|
|
|
include ObjectImporter
|
|
|
|
|
|
|
|
def representation_class
|
|
|
|
Representation::LfsObject
|
|
|
|
end
|
|
|
|
|
|
|
|
def importer_class
|
|
|
|
Importer::LfsObjectImporter
|
|
|
|
end
|
|
|
|
|
2021-06-21 09:10:07 +00:00
|
|
|
def object_type
|
|
|
|
:lfs_object
|
|
|
|
end
|
2018-06-06 16:42:18 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|