Method

IdeVcsget_branch_name

Declaration

gchar*
ide_vcs_get_branch_name (
  IdeVcs* self
)

Description

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

Gets propertyIde.Vcs:branch-name

Return value

Type: gchar*

A string containing the branch name.

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