Files
gitlab-foss/gems/gitlab-backup-cli/lib/gitlab/backup/cli/tasks/lfs.rb
2024-08-06 15:07:35 +00:00

26 lines
487 B
Ruby

# frozen_string_literal: true
module Gitlab
module Backup
module Cli
module Tasks
class Lfs < Task
def self.id = 'lfs'
def human_name = _('lfs objects')
def destination_path = 'lfs.tar.gz'
private
def target
check_object_storage(::Backup::Targets::Files.new(nil, storage_path, options: options))
end
def storage_path = context.ci_lfs_path
end
end
end
end
end