write_tree


Description:

public OId? write_tree () throws Error

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.

Parameters:

this

a Index.

Returns:

a OId or null in case of an error.