git_diff_file.id

The git_oid of the item. If the entry represents an absent side of a diff (e.g. the old_file of a GIT_DELTA_ADDED delta), then the oid will be zeroes.

struct git_diff_file
libgit2.oid.git_oid id;

Meta