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
bool
close

Parameters

cancellable Cancellable

optional gio.Cancellable object, NULL to ignore.

Return Value

Type: bool

TRUE on success or FALSE on error.

Throws

GException on failure.