FileEnumerator.close

Releases all resources used by this enumerator, making the enumerator return G_IO_ERROR_CLOSED on all calls. This will be automatically called when the last reference is dropped, but you might want to call this function to make sure resources are released as early as possible.

class FileEnumerator
int
close

Parameters

cancellable Cancellable

optional GCancellable object, NULL to ignore. [allow-none]

Return Value

Type: int

TRUE on success or FALSE on error.

Throws

GException on failure.

Meta