libgit2

git_index_owner

Version:

Get the repository this index relates to

Signature

git_repository *git_index_owner(const git_index *index);

Parameters

In
index

The index

Returns

A pointer to the repository

Versions