debian-mirror-gitlab/lib/backup/uploads.rb
2022-04-04 11:22:00 +05:30

17 lines
326 B
Ruby

# frozen_string_literal: true
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
end
end