Ggit.Index.remove

### Method

# Ggit Indexremove

#### Declaration [src]

    gboolean
    ggit_index_remove (
      GgitIndex* idx,
      GFile* file,
      gint stage,
      GError** error
    )

#### Description [src]

Remove a file from the index (specified by position).

#### Parameters

`file` | `GFile`
| The file to search.
| The data is owned by the caller of the function.
`stage` | `gint`
| The stage to search.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `gboolean`
| `TRUE` if the file was successfully removed, `FALSE` otherwise.