Method

GgitTreeBuilderget_entry

Declaration [src]

GgitTreeEntry*
ggit_tree_builder_get_entry (
  GgitTreeBuilder* builder,
  const gchar* path
)

Description [src]

Get an entry by path.

Parameters

path const gchar*
 

The path to remove.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.

Return value

Returns: GgitTreeEntry
 

The GGitTreeEntry or NULL if no such entry exists.

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