Virtual Method

IdeVcsget_branch_name

Declaration

gchar*
get_branch_name (
  IdeVcs* self
)

Description

Retrieves the name of the branch in the current working directory.

Return value

Type: gchar*

A string containing the branch name.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.