or null if an error occurs.
File.buildAttributeListForCopy
string buildAttributeListForCopy(gio.types.FileCopyFlags flags, gio.cancellable.Cancellable cancellable = null)Prepares the file attribute query string for copying to file.
This function prepares an attribute query string to be passed to [gio.file.File.queryInfo] to get a list of attributes normally copied with the file (see [gio.file.File.copyAttributes] for the detailed description). This function is used by the implementation of [gio.file.File.copyAttributes] and is useful when one needs to query and set the attributes in two stages (e.g., for recursive move of a directory).
Parameters
flags | a set of #GFileCopyFlags |
cancellable | optional #GCancellable object, null to ignore |
Returns
an attribute query string for [gio.file.File.queryInfo],
Throws
[ErrorWrap]