Edit

Share via


LineDiffBlockDetail interface

The class to represent a detailed line diff block with line content

Properties

changeType

Type of change that was made to the block.

modifiedLineNumberStart

Line number where this block starts in modified file.

modifiedLines

Modified lines of content in this block.

modifiedLinesCount

Count of lines in this block in modified file.

originalLineNumberStart

Line number where this block starts in original file.

originalLines

Original lines of content in this block.

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

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