Method

GgitReflogappend

Declaration [src]

gboolean
ggit_reflog_append (
  GgitReflog* reflog,
  GgitOId* oid,
  GgitSignature* committer,
  const gchar* message,
  GError** error
)

Description [src]

Creates a reflog entry.

Parameters

oid GgitOId
 

A GgitOId.

 The data is owned by the caller of the function.
committer GgitSignature
 

A GgitSignature.

 The data is owned by the caller of the function.
message const gchar*
 

The message.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if the reflog was successfully created, or FALSE if error is set.