delete_recursive


Description:

public void delete_recursive (File file, Cancellable? cancellable = null) throws Error

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.

Parameters:

file

the file/folder to recursively delete

cancellable

a GLib.Cancellable

Exceptions:

GLib.Error

if an error occurs while deleting the file/directory


Namespace: Catalyst.FileUtils
Package: catalyst-1