Method

GgitBranchget_name

Declaration [src]

const gchar*
ggit_branch_get_name (
  GgitBranch* branch
  GError** error
)

Description [src]

Gets the name of the given local or remote branch.

Return value

Returns: const gchar*
 

The name of the given local or remote branch or NULL.

 The data is owned by the instance.
 The return value can be NULL.
 The value is a NUL terminated UTF-8 string.