Gio.File::delete_file_async
function vfunc_delete_file_async(io_priority: Number(gint), cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { }
Asynchronously delete a file. If the file is a directory, it will only be deleted if it is empty. This has the same semantics as GLib.unlink.
Since 2.34
- io_priority
the [I/O priority][io-priority] of the request
- cancellable
optional Gio.Cancellable object, null to ignore
- callback
a Gio.AsyncReadyCallback to call when the request is satisfied