Ggit.Repository.get_index

### Method

# Ggit Repositoryget_index

#### Declaration [src]

    GgitIndex*
    ggit_repository_get_index (
      GgitRepository* repository
      GError** error
    )

#### Description [src]

Get the index for a specific repository.

#### Return value

Returns: | `GgitIndex`
| A `GgitIndex`.
| The caller of the method takes ownership of the data, and is responsible for freeing it.
| The return value can be `NULL`.