file
is a directory, it will only be deleted if it
is empty.gFileDelete(object, cancellable = NULL, .errwarn = TRUE)
GFile
.GCancellable
object, NULL
to ignore.TRUE
if the file was deleted. FALSE
otherwise.GError
, or NULL
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.