Skip to content

DiffHunkLine

DiffHunkLine = object

readonly optional newInlineRanges?: readonly DiffInlineRange[]


readonly optional newLineNumber?: number


readonly optional oldInlineRanges?: readonly DiffInlineRange[]


readonly optional oldLineNumber?: number


readonly optional oldText?: string

A context line’s old-side text, when the byte order mark only one side drops makes it differ.


readonly text: string

The line’s text; for a context line, its new side’s.


readonly type: DiffLineType