Method

GgitRepositoryset_head

Declaration [src]

gboolean
ggit_repository_set_head (
  GgitRepository* repository,
  const gchar* ref_name,
  GError** error
)

Description

No description available.

Parameters

ref_name const gchar*
 

Canonical name of the reference HEAD should point to.

 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 head was successfully set, FALSE otherwise.