GNOME Bugzilla – Bug 784037
gio: Mention the ALL_METADATA flag in g_file_copy()
Last modified: 2017-06-21 15:29:02 UTC
Since the g_file_copy() documentation doesn't mention if G_FILE_COPY_ALL_METADATA is applicable or not I initially used g_file_copy_attributes() to specify it after the g_file_copy() call. I then checked the source and the separate step does not seem to be needed, let's make that explicit in the documentation. :)
Created attachment 354155 [details] [review] 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).
Review of attachment 354155 [details] [review]: Yes!
The following fix has been pushed: 79e4d4c gio: Mention the ALL_METADATA flag in g_file_copy()