Method

GgitTreeget

Declaration [src]

GgitTreeEntry*
ggit_tree_get (
  GgitTree* tree,
  guint i
)

Description [src]

Get a tree entry by index.

Parameters

i guint
 

The index of the entry.

Return value

Returns: GgitTreeEntry
 

A GgitTreeEntry or NULL.

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