libgit2

git_object_owner

Version:

Get the repository that owns this object

Signature

git_repository *git_object_owner(const git_object *obj);

Parameters

In
obj

the object

Returns

the repository who owns this object

Versions