File.deleteAsync

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.global.unlink.

interface File
void
deleteAsync

Parameters

ioPriority int

the [I/O priority][io-priority] of the request

cancellable gio.cancellable.Cancellable

optional #GCancellable object, null to ignore

callback gio.types.AsyncReadyCallback

a #GAsyncReadyCallback to call when the request is satisfied