debian-mirror-gitlab/app/workers/gitlab/github_import/import_lfs_object_worker.rb

26 lines
514 B
Ruby
Raw Normal View History

2018-11-08 19:23:39 +05:30
# frozen_string_literal: true
module Gitlab
module GithubImport
2020-04-08 14:13:33 +05:30
class ImportLfsObjectWorker # rubocop:disable Scalability/IdempotentWorker
2018-11-08 19:23:39 +05:30
include ObjectImporter
def representation_class
Representation::LfsObject
end
def importer_class
Importer::LfsObjectImporter
end
def counter_name
:github_importer_imported_lfs_objects
end
def counter_description
'The number of imported GitHub Lfs Objects'
end
end
end
end