Gio.FileEnumerator.prototype.close
function close(cancellable: Gio.Cancellable): Boolean {
// Gjs wrapper for g_file_enumerator_close()
}
Releases all resources used by this enumerator, making the enumerator return Gio.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.
- cancellable
optional Gio.Cancellable object, null to ignore.
- Returns
#TRUE on success or #FALSE on error.