Method

GgitRepositoryenumerate_branches

Declaration [src]

GgitBranchEnumerator*
ggit_repository_enumerate_branches (
  GgitRepository* repository,
  GgitBranchType list_type,
  GError** error
)

Description [src]

Get a branch enumerator to enumerate over all branches of the specified list_type in repository.

Parameters

list_type GgitBranchType
 

A GgitBranchType.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: GgitBranchEnumerator
 

A branch enumerator.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.