write_tree_to
Description:
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:
this |
a Index. |
repository |
a Repository. |
Returns:
a OId or null in case of an error. |