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 g_unlink(). Virtual: delete_file_async Since 2.34

Parameters

ioPriority int

the I/O priority of the request

cancellable Cancellable

optional GCancellable object, NULL to ignore. [allow-none]

callback GAsyncReadyCallback

a GAsyncReadyCallback to call when the request is satisfied

userData void*

the data to pass to callback function

Meta