On Thu, 2010-06-10 at 14:59 -0400, José Alburquerque wrote:
> El Jun 10, 2010, a las 2:12 PM, Glus Xof <[email protected]> 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

For instance:
http://git.gnome.org/browse/glom/tree/tests/test_selfhosting_new_empty.cc#n43

I personally find it annoying that there isn't a simple function for
this.

-- 
[email protected]
www.murrayc.com
www.openismus.com

_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to