Performs a recursive delete of the given directory. If the given file is not a directory, but is a regular file, it will behave the same as GLib.File.delete.
file |
the file/folder to recursively delete |
cancellable |
a GLib.Cancellable |
GLib.Error |
if an error occurs while deleting the file/directory |