Skip to content

CodeDiffChangeLineType

What happened to a line in a diff.

Kind: a string enum, used in responses.

ValueDescription
"Added"The line was added.
"Removed"The line was removed.
"Existing"The line is unchanged, shown for context.

New values can appear, so treat one you don’t know as “something else”, not as an error.