Method

GgitPatchto_stream

Declaration [src]

gboolean
ggit_patch_to_stream (
  GgitPatch* patch,
  GOutputStream* stream,
  GError** error
)

Description [src]

Write the contents of a patch to the provided stream.

Parameters

stream GOutputStream
 

A GOutputStream.

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

Return value

Returns: gboolean
 

TRUE if the patch was written successfully, FALSE otherwise.