git_submodule_owner

Get the containing repository for a submodule.

This returns a pointer to the repository that contains the submodule. This is a just a reference to the repository that was passed to the original git_submodule_lookup() call, so if that repository has been freed, then this may be a dangling reference.

@param submodule Pointer to submodule object @return Pointer to libgit2_d.types.git_repository

extern (C) nothrow @nogc
git_submodule_owner

Meta