Re: Deleting recursively ....
- From: José Alburquerque <jaalburquerque cox net>
- To: Glus Xof <gtglus gmail com>
- Cc: "gtkmm-list gnome org" <gtkmm-list gnome org>
- Subject: Re: Deleting recursively ....
- Date: Thu, 10 Jun 2010 14:59:27 -0400
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]