Method

GgitReflogget_entry_from_index

Declaration [src]

GgitReflogEntry*
ggit_reflog_get_entry_from_index (
  GgitReflog* reflog,
  guint idx
)

Description [src]

Gets the GgitReflogEntry at idx in reflog, or NULL if not found.

Parameters

idx guint
 

The position to lookup.

Return value

Returns: GgitReflogEntry
 

The reflog entry at the index, or NULL if not found.

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