Method
GgitTreeget_by_path
Declaration [src]
GgitTreeEntry*
ggit_tree_get_by_path (
GgitTree* tree,
const gchar* path,
GError** error
)
Description [src]
Retrieves a tree entry contained in a tree or in any of its subtrees, given its relative path.
Parameters
path |
const gchar* |
A path. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
error |
GError ** |
The return location for a GError* , or NULL . |
Return value
Returns: | GgitTreeEntry |
A |
|
The caller of the method takes ownership of the data, and is responsible for freeing it. | |
The return value can be NULL . |