Ggit.DiffLineType
Description: Reference for Ggit.DiffLineType

### Enumeration

# GgitDiffLineType

#### Declaration

    enum Ggit.DiffLineType

#### 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.

#### Members

`GGIT_DIFF_LINE_CONTEXT`

  Line is part of the context.

  - Value: `32`
  - Available since: 1.0
`GGIT_DIFF_LINE_ADDITION`

  Line that was added.

  - Value: `43`
  - Available since: 1.0
`GGIT_DIFF_LINE_DELETION`

  Line that was removed.

  - Value: `45`
  - Available since: 1.0
`GGIT_DIFF_LINE_CONTEXT_EOFNL`

  Both files have no LF at end.

  - Value: `61`
  - Available since: 1.0
`GGIT_DIFF_LINE_ADD_EOFNL`

  LF was added at end of file.

  - Value: `62`
  - Available since: 1.0
`GGIT_DIFF_LINE_DEL_EOFNL`

  LF was removed at end of file.

  - Value: `60`
  - Available since: 1.0
`GGIT_DIFF_LINE_FILE_HDR`

  The file header.

  - Value: `70`
  - Available since: 1.0
`GGIT_DIFF_LINE_HUNK_HDR`

  The hunk header.

  - Value: `72`
  - Available since: 1.0
`GGIT_DIFF_LINE_BINARY`

  Is binary.

  - Value: `66`
  - Available since: 1.0