git_index_read_tree

Read a tree into the index file with stats

The current index contents will be replaced by the specified tree.

extern (C) nothrow @nogc
int
git_index_read_tree

Parameters

index libgit2_d.types.git_index*

an existing index object

tree const(libgit2_d.types.git_tree)*

tree to read

Return Value

Type: int

0 or an error code

Meta