Function
EDataServerfile_recursive_delete
since: 3.6
Declaration [src]
void
e_file_recursive_delete (
GFile* file,
gint io_priority,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Asynchronously deletes file. If file is a directory, its contents
are deleted recursively before file itself is deleted. The recursive
delete operation will stop on the first error.
If cancellable is not NULL, then the operation can be cancelled
by triggering the cancellable object before the operation finishes.
When the operation is finished, callback will be called. You can then call e_file_recursive_delete_finish() to get the result of the operation.
Available since: 3.6
Parameters
file-
Type:
GFileA
GFileto delete.The data is owned by the caller of the function. io_priority-
Type:
gintThe I/O priority of the request.
cancellable-
Type:
GCancellableOptional
GCancellableobject, orNULL.The argument can be NULL.The data is owned by the caller of the function. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallbackto call when the request is satisfied.The argument can be NULL. user_data-
Type:
gpointerData to pass to the callback function.
The argument can be NULL.The data is owned by the caller of the function.