Deletes a file.
If the this is a directory, it will only be deleted if it is empty. This has the same semantics as unlink.
If cancellable
is not null, then the operation can be cancelled by triggering
the cancellable object from another thread. If the operation was cancelled, the error
g_io_error_cancelled will be returned.
this |
input File |
cancellable |
optional Cancellable object, null to ignore |
true if the file was deleted. false otherwise. |