git_repository_index

Get the Index file for this repository.

If a custom index has not been set, the default index for the repository will be returned (the one located in .git/index).

The index must be freed once it's no longer being used by the user.

@param out Pointer to store the loaded index @param repo A repository object @return 0, or an error code

extern (C)
int
git_repository_index
(
git_index** out_
,
git_repository* repo
)

Meta