LineDiffBlock interface

The class to represent the line diff block

Properties

changeType

Type of change that was made to the block.

modifiedLineNumberStart

Line number where this block starts in modified file.

modifiedLinesCount

Count of lines in this block in modified file.

originalLineNumberStart

Line number where this block starts in original file.

originalLinesCount

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

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

originalLinesCount

Count of lines in this block in original file.

originalLinesCount: number

Property Value

number