Skip to content

DiffFile

DiffFile = object

readonly optional cacheKey?: string


readonly changeType: DiffFileChangeType


readonly hunks: readonly DiffHunk[]


readonly isPartial: boolean


readonly optional languageId?: EditorSyntaxLanguageId | null


readonly newLines: readonly string[]


readonly optional newMode?: string


readonly optional newObjectId?: string


readonly newPath: string


readonly oldLines: readonly string[]

Git’s lines as splitTextLines holds them; hunk line text follows the same rule per side.


readonly optional oldMode?: string


readonly optional oldObjectId?: string


readonly optional oldPath?: string


readonly path: string