File.buildAttributeListForCopy

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

interface File
string
buildAttributeListForCopy

Parameters

flags gio.types.FileCopyFlags

a set of #GFileCopyFlags

cancellable gio.cancellable.Cancellable

optional #GCancellable object, null to ignore

Return Value

Type: string

an attribute query string for gio.file.File.queryInfo, or null if an error occurs.