libgit2

git_object_owner

Version:

Get the repository that owns this object

Signature

git_repository *git_object_owner(git_object *obj);

Parameters

git_object *
In
obj

the object

Returns

git_repository *

the repository who owns this object

Versions