libgit2

git_submodule_index_id

Version:

Get the OID for the submodule in the index.

Signature

const git_oid *git_submodule_index_id(git_submodule *submodule);

Parameters

In
submodule

Pointer to submodule object

Returns

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

Versions