Ggit.Repository.get_submodule_status

### Method

# Ggit Repositoryget_submodule_status

#### Declaration [src]

    GgitSubmoduleStatus
    ggit_repository_get_submodule_status (
      GgitRepository* repository,
      const gchar* name,
      GgitSubmoduleIgnore ignore,
      GError** error
    )

#### Description [src]

Gets the status for a submodule. This looks at a submodule and tries to determine the status. It will return a combination of the `GGIT_SUBMODULE_STATUS` values. How deeply it examines the working directory to do this will depend on `ignore`.

#### Parameters

`name` | `const gchar*`
| The name of the submodule.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.
`ignore` | `GgitSubmoduleIgnore`
| The ignore rules to follow.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `GgitSubmoduleStatus`
| The `GgitSubmoduleStatus` for `submodule`.