FileEnumerator.close

Releases all resources used by this enumerator, making the enumerator return gio.types.IOErrorEnum.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 gio.cancellable.Cancellable

optional #GCancellable object, null to ignore.

Return Value

Type: bool

#TRUE on success or #FALSE on error.