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:
GFileA
GFileto write the index to.The data is owned by the caller of the method. io_priority-
Type:
gintThe priority for IO operations.
cancellable-
Type:
GCancellableAn optional
GCancellableorNULL.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA callback for completion or
NULL.The argument can be NULL. user_data-
Type:
gpointerUser data for
callback.The argument can be NULL.The data is owned by the caller of the method.