Skip to content

id ​

Returns the Oid of this item.

If this entry represents an absent side of a diff (e.g. the oldFile of a Added delta), then the oid returned will be zeroes.

Signature ​

ts
class DiffFile {
  id(): string;
}

Returns ​

  • string

    The Oid of this item.

Released under the MIT License.