Re: File removal



Alexander Larsson wrote:
 > If you pass GNOME_VFS_XFER_DELETE_ITEMS to gnome_vfs_xfer you it deletes
the file. *_xfer is really a generic api for all sorts of things.

That's great news, because this will save me a lot of time and coding. Thanks.

Ain't there any gnome_vfs_remove() functions?


There is gnome_vfs_unlink() and gnome_vfs_unlink_from_uri() which are
the low-level versions of deletion.

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).

Regards,
Matthias



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