Method
GgitTreeget_by_name
Declaration [src]
GgitTreeEntry*
ggit_tree_get_by_name (
GgitTree* tree,
const gchar* name
)
Parameters
name-
Type:
const gchar*A filename.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: 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. |