Edit

FileDiffDetail interface

Provides properties that describe detailed file differences including line content

Properties

changeType

The type of change (add, delete, rename, edit, etc.)

isFolder

Whether the item is a folder.

isLinuxExecutable

Whether the item has the Linux executable bit set.

isSymbolicLink

Whether the item is a symbolic link.

lineDiffBlocks

The collection of detailed line diff blocks

originalPath

Original path of item if different from current path.

path

Current path of item

Property Details

changeType

The type of change (add, delete, rename, edit, etc.)

changeType: VersionControlChangeType

Property Value

isFolder

Whether the item is a folder.

isFolder: boolean

Property Value

boolean

isLinuxExecutable

Whether the item has the Linux executable bit set.

isLinuxExecutable: boolean

Property Value

boolean

Whether the item is a symbolic link.

isSymbolicLink: boolean

Property Value

boolean

lineDiffBlocks

The collection of detailed line diff blocks

lineDiffBlocks: LineDiffBlockDetail[]

Property Value

originalPath

Original path of item if different from current path.

originalPath: string

Property Value

string

path

Current path of item

path: string

Property Value

string