libgit2

git_submodule_path

Version:

Get the path to the submodule.

The path is almost always the same as the submodule name, but the two are actually not required to match.

Signature

const char *git_submodule_path(git_submodule *submodule);

Parameters

In
submodule

Pointer to submodule object

Returns

const char *

Pointer to the submodule path

Versions