gitlab-org--gitlab-foss/lib/backup/uploads.rb

18 lines
326 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2013-04-10 08:41:47 -04:00
module Backup
class Uploads < Backup::Files
attr_reader :progress
def initialize(progress)
@progress = progress
super('uploads', File.join(Gitlab.config.uploads.storage_path, "uploads"), excludes: ['tmp'])
end
def human_name
_('uploads')
end
2013-04-10 08:41:47 -04:00
end
end