git_submodule_status

Get the status for a submodule.

This looks at a submodule and tries to determine the status. It will return a combination of the GIT_SUBMODULE_STATUS values above. How deeply it examines the working directory to do this will depend on the libgit2_d.types.git_submodule_ignore_t value for the submodule.

extern (C) nothrow @nogc
int
git_submodule_status

Parameters

status uint*

Combination of GIT_SUBMODULE_STATUS flags

repo libgit2_d.types.git_repository*

the repository in which to look

name const(char)*

name of the submodule

ignore libgit2_d.types.git_submodule_ignore_t

the ignore rules to follow

Return Value

Type: int

0 on success, <0 on error

Meta