Gjsify LogoGjsify Logo

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.

Index

Enumeration Members

ADDITION: number

line that was added.

ADD_EOFNL: number

LF was added at end of file.

BINARY: number

is binary.

CONTEXT: number

line is part of the context.

CONTEXT_EOFNL: number

Both files have no LF at end.

DELETION: number

line that was removed.

DEL_EOFNL: number

LF was removed at end of file.

FILE_HDR: number

the file header.

HUNK_HDR: number

the hunk header.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method