Sha256: 4e43f2c2387a9ee63d37bca2370a8a1648b1fcac8eccc2737688e0fa6c09dd32
Contents?: true
Size: 485 Bytes
Versions: 4
Compression:
Stored size: 485 Bytes
Contents
module Uricp::Strategy class PipedCompress include Uricp::Strategy::Common def appropriate? case from.scheme when 'pipe' return proposal if compression_required? end debug "#{self.class.name}: not appropriate" false end def command "lz4c |" end def proposal @proposed_options = options.dup @proposed_options.delete('compress') @proposed_options['encoding']='lz4' self end end end
Version data entries
4 entries across 4 versions & 1 rubygems