Files
gitlab-foss/gems/gitlab-backup-cli/lib/gitlab/backup/cli/utils/compression.rb
2024-10-01 21:13:04 +00:00

20 lines
358 B
Ruby

# frozen_string_literal: true
module Gitlab
module Backup
module Cli
module Utils
class Compression
def self.compression_command
Shell::Command.new('gzip -c -1')
end
def self.decompression_command
Shell::Command.new('gzip -cd')
end
end
end
end
end
end