Virtual Method

IdeVcsget_branch_name

Declaration

gchar*
get_branch_name (
  IdeVcs* self
)

Description

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

Available since:3.32

Return value

Returns: gchar*
 

A string containing the branch name.

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