delete_async


Description:

public virtual async bool delete_async (int io_priority = DEFAULT, Cancellable? cancellable = null) throws Error

Asynchronously delete a file.

If the this is a directory, it will only be deleted if it is empty. This has the same semantics as unlink.

Parameters:

this

input File

io_priority

the I/O priority of the request

cancellable

optional Cancellable object, null to ignore

callback

a AsyncReadyCallback to call when the request is satisfied

user_data

the data to pass to callback function