LineDiffBlockDetail interface
The class to represent a detailed line diff block with line content
Properties
| change |
Type of change that was made to the block. |
| modified |
Line number where this block starts in modified file. |
| modified |
Modified lines of content in this block. |
| modified |
Count of lines in this block in modified file. |
| original |
Line number where this block starts in original file. |
| original |
Original lines of content in this block. |
| original |
Count of lines in this block in original file. |
Property Details
changeType
Type of change that was made to the block.
changeType: LineDiffBlockChangeType
Property Value
modifiedLineNumberStart
Line number where this block starts in modified file.
modifiedLineNumberStart: number
Property Value
number
modifiedLines
Modified lines of content in this block.
modifiedLines: string[]
Property Value
string[]
modifiedLinesCount
Count of lines in this block in modified file.
modifiedLinesCount: number
Property Value
number
originalLineNumberStart
Line number where this block starts in original file.
originalLineNumberStart: number
Property Value
number
originalLines
Original lines of content in this block.
originalLines: string[]
Property Value
string[]
originalLinesCount
Count of lines in this block in original file.
originalLinesCount: number
Property Value
number