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

import_export_uploader.rb « uploaders « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 104d5d3b3dd7899ca0d47fd84cd18219bcdcfefe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class ImportExportUploader < AttachmentUploader
  EXTENSION_WHITELIST = %w[tar.gz gz].freeze

  def extension_whitelist
    EXTENSION_WHITELIST
  end

  def move_to_cache
    false
  end
end