Re: File removal



Murray Cumming wrote:
Okay, I was just somewhat confused because the C++ bindings supply a
function called remove() (for synchronous deletion); it's probably just
an overloaded wrapper for these two funtions (with a slightly more
intuitive name).


No, that seems to be a wrapper for gnome_vfs_xfer_delete_list().

Yes, you're right. So I have a couple of options on how to remove a file. Are there any guidelines/practices when to use what?

AFAICT, if I want to remove files without blocking the rest of the application, I use the transfer() functions with the respective removal-options (as Alexander pointed out), and otherwise remove().

Is that correct?

Thanks,
Matthias




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