Method
GgitIndexwrite_tree_to
Declaration [src]
GgitOId*
ggit_index_write_tree_to (
GgitIndex* idx,
GgitRepository* repository,
GError** error
)
Description [src]
Write a new tree object to repository containing a representation of the current
state of the index. The index must not contain any files in conflict. You can use
the resulting tree to for instance create a commit.
Parameters
repository |
GgitRepository |
A |
|
| The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError*, or NULL. |
Return value
| Returns: | GgitOId |
A |
|
| The caller of the method takes ownership of the data, and is responsible for freeing it. | |
The return value can be NULL. |