Method

GgitDiffprint

Declaration [src]

void
ggit_diff_print (
  GgitDiff* diff,
  GgitDiffFormatType type,
  GgitDiffLineCallback print_cb,
  gpointer* user_data,
  GError** error
)

Description [src]

Iterates over diff generating text output like “git diff”.

Parameters

type GgitDiffFormatType
 

A GgitDiffFormatType.

print_cb GgitDiffLineCallback
 

A GgitDiffLineCallback.

user_data gpointer*
 

Callback user data.

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.