Enumeration
GgitDiffLineType
since: 1.0
Description [src]
These values describe where a line came from and will be passed to
the GgitDiffLineCallback when iterating over a diff.
The #GGIT_DIFF_LINE_FILE_HDR, #GGIT_DIFF_LINE_HUNK_HDR and
GGIT_DIFF_LINE_BINARY values are only sent when the diff is being printed.
Available since: 1.0
Members
GGIT_DIFF_LINE_CONTEXT-
Line is part of the context.
- Value:
32 - Nickname:
context - Available since: 1.0
- Value:
GGIT_DIFF_LINE_ADDITION-
Line that was added.
- Value:
43 - Nickname:
addition - Available since: 1.0
- Value:
GGIT_DIFF_LINE_DELETION-
Line that was removed.
- Value:
45 - Nickname:
deletion - Available since: 1.0
- Value:
GGIT_DIFF_LINE_CONTEXT_EOFNL-
Both files have no LF at end.
- Value:
61 - Nickname:
context-eofnl - Available since: 1.0
- Value:
GGIT_DIFF_LINE_ADD_EOFNL-
LF was added at end of file.
- Value:
62 - Nickname:
add-eofnl - Available since: 1.0
- Value:
GGIT_DIFF_LINE_DEL_EOFNL-
LF was removed at end of file.
- Value:
60 - Nickname:
del-eofnl - Available since: 1.0
- Value:
GGIT_DIFF_LINE_FILE_HDR-
The file header.
- Value:
70 - Nickname:
file-hdr - Available since: 1.0
- Value:
GGIT_DIFF_LINE_HUNK_HDR-
The hunk header.
- Value:
72 - Nickname:
hunk-hdr - Available since: 1.0
- Value:
GGIT_DIFF_LINE_BINARY-
Is binary.
- Value:
66 - Nickname:
binary - Available since: 1.0
- Value: