Re: Deleting recursively ....



El Jun 10, 2010, a las 2:12 PM, Glus Xof <gtglus gmail com> escribió:

Hi guys,

Gio::File::remove() seems not working to delete recursively (when
Gio::File is a folder path...)

How should I do to delete directories recursively ?

You could write a recursive routine that uses Gio::FileEnumerator[1] to list the files in the directory. The routine would recurse if a directory is encountered.

[1] http://library.gnome.org/devel/glibmm/unstable/classGio_1_1FileEnumerator.html#_details

--
José


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]