git_submodule_index_id

Get the OID for the submodule in the index.

extern (C) nothrow @nogc public
git_submodule_index_id

Parameters

submodule libgit2.types.git_submodule*

Pointer to submodule object

Return Value

Type: const(libgit2.oid.git_oid)*

Pointer to git_oid or null if submodule is not in index.

Meta