Sha256: 51bb057e46bcde745492dc945d588628def079e1a291aa01d581a0623381e463

Contents?: true

Size: 646 Bytes

Versions: 2

Compression:

Stored size: 646 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/core_ext'
require 'ehbrs/tools/executables'
require 'ehbrs/tools/vg/patches/base_applier'

module Ehbrs
  module Tools
    module Vg
      module Patches
        class VcdiffApplier < ::Ehbrs::Tools::Vg::Patches::BaseApplier
          # @param source_path [Pathname]
          # @param output_path [Pathname]
          # @return [EacRubyUtils::Envs::Command]
          def command(source_path, output_path)
            ::Ehbrs::Tools::Executables.xdelta3.command
              .append(['-d', '-s', source_path, patch_path, output_path])
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ehbrs-tools-0.43.1 lib/ehbrs/tools/vg/patches/vcdiff_applier.rb
ehbrs-tools-0.43.0 lib/ehbrs/tools/vg/patches/vcdiff_applier.rb