Class | Diff::LCS::Hunk |
In: |
lib/diff/lcs/hunk.rb
|
Parent: | Object |
A Hunk is a group of Blocks which overlap because of the context surrounding each block. (So if we’re not using context, every hunk will contain one block.) Used in the diff program (bin/diff).
blocks | [R] | |
end_new | [R] | |
end_old | [R] | |
file_length_difference | [R] | |
flag_context | [RW] | Change the “start” and “end” fields to note that context should be added to this hunk |
start_new | [R] | |
start_old | [R] |