FileT.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().

template FileT(TStruct)
void
deleteAsync
(,
Cancellable cancellable
,
GAsyncReadyCallback callback
,
void* userData
)

Parameters

ioPriority int

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

cancellable Cancellable

optional #GCancellable object, %NULL to ignore

callback GAsyncReadyCallback

a #GAsyncReadyCallback to call when the request is satisfied

userData void*

the data to pass to callback function

Meta

Since

2.34