libgit2

git_diff_flag_t

Version:

Flags for the delta object and the file objects on each side.

These flags are used for both the flags value of the git_diff_delta and the flags for the git_diff_file objects representing the old and new sides of the delta. Values outside of this public range should be considered reserved for internal or future use.

Values

GIT_DIFF_FLAG_BINARY
0

file(s) treated as binary data

GIT_DIFF_FLAG_NOT_BINARY
1

file(s) treated as text data

GIT_DIFF_FLAG_VALID_ID
2

id value is known correct

GIT_DIFF_FLAG_EXISTS
3

file exists at this side of the delta

Versions