Method

IdeFuzzyIndexBuilderwrite_async

Declaration

void
ide_fuzzy_index_builder_write_async (
  IdeFuzzyIndexBuilder* self,
  GFile* file,
  gint io_priority,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description

Builds and writes the index to file. The file format is a GVariant on disk and can be loaded and searched using FuzzyIndex.

Parameters

file

Type: GFile

A GFile to write the index to.

The data is owned by the caller of the method.
io_priority

Type: gint

The priority for IO operations.

cancellable

Type: GCancellable

An optional GCancellable or NULL.

The argument can be NULL.
The data is owned by the caller of the method.
callback

Type: GAsyncReadyCallback

A callback for completion or NULL.

The argument can be NULL.
user_data

Type: gpointer

User data for callback.

The argument can be NULL.
The data is owned by the caller of the method.