git_object_owner

Get the repository that owns this object

Freeing or calling git_repository_close on the returned pointer will invalidate the actual object.

Any other operation may be run on the repository without affecting the object.

extern (C) nothrow @nogc
git_object_owner

Parameters

obj const(libgit2_d.types.git_object)*

the object

Return Value

Type: libgit2_d.types.git_repository*

the repository who owns this object

Meta