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

lfs.rb « tasks « backup « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3bb3774233abad875eb58c0ca8bb7d32db8472df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# frozen_string_literal: true

module Backup
  module Tasks
    class Lfs < Task
      def self.id = 'lfs'

      def human_name = _('lfs objects')

      def destination_path = 'lfs.tar.gz'

      def target
        ::Backup::Targets::Files.new(progress, app_files_dir, options: options)
      end

      private

      def app_files_dir
        Settings.lfs.storage_path
      end
    end
  end
end