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