Method
GgitIndexwrite_tree
Declaration [src]
GgitOId*
ggit_index_write_tree (
GgitIndex* idx
GError** error
)
Description [src]
Write a new tree object to disk containing a representation of the current state of the index. The index must be associated to an existing repository and must not contain any files in conflict. You can use the resulting tree to for instance create a commit.
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 . |