Class: Ehbrs::Tools::Vg::Patches::VcdiffApplier

Inherits:
BaseApplier
  • Object
show all
Defined in:
lib/ehbrs/tools/vg/patches/vcdiff_applier.rb

Instance Method Summary collapse

Methods inherited from BaseApplier

#apply

Instance Method Details

#command(source_path, output_path) ⇒ EacRubyUtils::Envs::Command

Parameters:

  • source_path (Pathname)
  • output_path (Pathname)

Returns:

  • (EacRubyUtils::Envs::Command)


15
16
17
18
# File 'lib/ehbrs/tools/vg/patches/vcdiff_applier.rb', line 15

def command(source_path, output_path)
  ::Ehbrs::Tools::Executables.xdelta3.command
    .append(['-d', '-s', source_path, patch_path, output_path])
end