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: 213ac5c801197e49a276ff9f4c97657409f4b8a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class ImportExportUploader < AttachmentUploader
  EXTENSION_WHITELIST = %w[tar.gz].freeze

  def extension_whitelist
    EXTENSION_WHITELIST
  end

  def move_to_store
    true
  end

  def move_to_cache
    false
  end
end