mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 17:56:17 +01:00
gio: Mention the ALL_METADATA flag in g_file_copy()
The g_file_copy() documentation didn't mention if G_FILE_COPY_ALL_METADATA was applicable or not, and users were led to call g_file_copy_attributes() to specify it after the g_file_copy() call, unless they checked the source (been there, done that). https://bugzilla.gnome.org/show_bug.cgi?id=784037
This commit is contained in:
parent
fd329f4853
commit
79e4d4c6be
@ -3299,6 +3299,10 @@ file_copy_fallback (GFile *source,
|
||||
* will be copied as symlinks, otherwise the target of the
|
||||
* @source symlink will be copied.
|
||||
*
|
||||
* If the flag #G_FILE_COPY_ALL_METADATA is specified then all the metadata
|
||||
* that is possible to copy is copied, not just the default subset (which,
|
||||
* for instance, does not include the owner, see #GFileInfo).
|
||||
*
|
||||
* If @cancellable is not %NULL, then the operation can be cancelled by
|
||||
* triggering the cancellable object from another thread. If the operation
|
||||
* was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
|
||||
|
Loading…
Reference in New Issue
Block a user