JFilesystemPatcher::applyHunk
Apply the patch
Signature
protected function applyHunk(&
$lines,
string
$src,
string
$dst,
string
$src_line,
string
$src_size,
string
$dst_line,
string
$dst_sizeĀ )
Parameters
-
$lines
-
$src
- The source file
-
$dst
- The destination file
-
$src_line
- The beginning of the patch for the source file
-
$src_size
- The size of the patch for the source file
-
$dst_line
- The beginning of the patch for the destination file
-
$dst_size
- The size of the patch for the destination file
Returns
- void
Errors/Exceptions
-
RuntimeException