closeFinish

open fun closeFinish(result: AsyncResult): <Error class: unknown class><Boolean>

Finishes closing a file enumerator, started from g_file_enumerator_close_async().

If the file enumerator was already closed when g_file_enumerator_close_async() was called, then this function will report %G_IO_ERROR_CLOSED in @error, and return false. If the file enumerator had pending operation when the close operation was started, then this function will report %G_IO_ERROR_PENDING, and return false. If @cancellable was not null, then the operation may have been cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error %G_IO_ERROR_CANCELLED will be set, and false will be returned.

Return

true if the close operation has finished successfully.

Parameters

result

a #GAsyncResult.