Ide.CodeIndexer.index_file_finish

### Method

# Ide CodeIndexerindex_file_finish

#### Declaration

    IdeCodeIndexEntries*
    ide_code_indexer_index_file_finish (
      IdeCodeIndexer* self,
      GAsyncResult* result,
      GError** error
    )

#### Description

Completes an asynchronous request to ide_code_indexer_index_file_async().

Available since: | 3.32

#### Parameters

`result` | `GAsyncResult`
| A `GAsyncResult` provided to callback.
| The data is owned by the caller of the function.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `IdeCodeIndexEntries`
| An `IdeCodeIndexEntries` if successful; otherwise `NULL` and `error` is set.
| The caller of the method takes ownership of the data, and is responsible for freeing it.