Represents a contiguous section (hunk) of changes in a file diff.
DiffHunk
01 Syntax
Microsoft.VisualBasic.ApplicationServices.Development.VisualStudio.VersionControl.Git.DiffHunk
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| ToString | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| OldStart | 1 | The starting line number in the old (original) file. |
| OldCount | 1 | The number of lines this hunk occupies in the old file. |
| NewStart | 1 | The starting line number in the new (modified) file. |
| NewCount | 1 | The number of lines this hunk occupies in the new file. |
| Lines | 1 | The list of diff lines in this hunk. |
04 Members
OldStart
The starting line number in the old (original) file.
OldCount
The number of lines this hunk occupies in the old file.
NewStart
The starting line number in the new (modified) file.
NewCount
The number of lines this hunk occupies in the new file.
Lines
The list of diff lines in this hunk.
ToString()