Welcome to mirror list, hosted at ThFree Co, Russian Federation.

import_lfs_object_worker.rb « github_import « gitlab « workers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 78f78fdb160b217b4b4f57ce5efaec0175e62b3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# frozen_string_literal: true

module Gitlab
  module GithubImport
    class ImportLfsObjectWorker # rubocop:disable Scalability/IdempotentWorker
      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