Method

GgitRepositorystash_foreach

Declaration [src]

gboolean
ggit_repository_stash_foreach (
  GgitRepository* repository,
  GgitStashCallback callback,
  gpointer user_data,
  GError** error
)

Description [src]

Loops over all the stashed states and issue a callback for each one. If callback returns a non-zero value, this will stop looping.

Parameters

callback GgitStashCallback
 

A GgitStashCallback.

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.