FileEnumerator.close
bool close(gio.cancellable.Cancellable cancellable = null)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.
Parameters
cancellable | optional #GCancellable object, null to ignore. |
Returns
#TRUE on success or #FALSE on error.
Throws
[ErrorWrap]