deleteAsync

open fun deleteAsync(ioPriority: Int, cancellable: Cancellable? = null, callback: AsyncReadyCallback)

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

Since

2.34

Parameters

ioPriority

the io-priority of the request

cancellable

optional #GCancellable object, null to ignore

callback

a #GAsyncReadyCallback to call when the request is satisfied