close


Description:

public bool close (Cancellable? cancellable = null) throws Error

Releases all resources used by this enumerator.

The enumerator will return [error@Gio.IOErrorEnum.CLOSED] on all subsequent 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.

Parameters:

this

a file enumerator

cancellable

optional cancellable object

Returns:

true on success; false otherwise