Method

GgitRepositorytag_foreach

Declaration [src]

gboolean
ggit_repository_tag_foreach (
  GgitRepository* repository,
  GgitTagCallback callback,
  gpointer user_data,
  GError** error
)

Description [src]

Get all the tags in the repository and run the provided callback on each. If the callback returns something other than 0, the iteration will stop and error will be set.

Parameters

callback GgitTagCallback
 

A GgitTagCallback.

user_data gpointer
 

Callback user data.

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if there was no error, FALSE otherwise.