FileEnumerator.closeFinish

Finishes closing a file enumerator, started from FileEnumerator.closeAsync.

If the file enumerator was already closed when FileEnumerator.closeAsync 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.

class FileEnumerator
bool
closeFinish

Parameters

result AsyncResultIF

Return Value

Type: bool

TRUE if the close operation has finished successfully.

Throws

GException on failure.