git_index_write_tree_to

Write the index as a tree to the given repository

This method will do the same as git_index_write_tree, but letting the user choose the repository where the tree will be written.

The index must not contain any file in conflict.

@param out_ Pointer where to store OID of the the written tree @param index Index to write @param repo Repository where to write the tree @return 0 on success, git_error_code.GIT_EUNMERGED when the index is not clean or an error code

extern (C) nothrow @nogc
int
git_index_write_tree_to

Meta