On Sat, 2007-05-05 at 16:49 -0400, Marlon wrote:

> which result codes from gnome_vfs_directory_open_from_uri() should be
> flat-out ignored, which ones should be ignorable on request of the
> client ( e.g. nautilus), and which ones should be fatal, causing the
> directory walk to terminate?  what's the appropriate way for clients
> to identify the return codes to be ignored?  a directory visit option
> for each one?

I really think there are only two cases, either you're doing something
that needs to affect *all* files, or its an error, or you just want to
cover as many files as possible (as in the case of search). So, I think
a visit option that ignores all errors when recursing into a
subdirectory.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   [EMAIL PROTECTED]    [EMAIL PROTECTED] 
He's an impetuous voodoo romance novelist living undercover at Ringling Bros. 
Circus. She's a scantily clad red-headed research scientist in the witness 
protection program. They fight crime! 

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

Reply via email to