Skip to content

newFile

Return the file which represents the "to" side of the diff.

What side this means depends on the function that was used to generate the diff and will be documented on the function itself.

Signature

ts
class DiffDelta {
  newFile(): DiffFile;
}

Returns

  • DiffFile

    The file which represents the "to" side of the diff.

Released under the MIT License.