Method

GgitCommitParentsget

Declaration [src]

GgitCommit*
ggit_commit_parents_get (
  GgitCommitParents* parents,
  guint idx
)

Description [src]

Get the GgitCommit of a parent.

Parameters

idx guint
 

The parent index.

Return value

Returns: GgitCommit
 

A GgitCommit.

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