buildAttributeListForCopy

open fun buildAttributeListForCopy(flags: FileCopyFlags, cancellable: Cancellable? = null): <Error class: unknown class><String>

Prepares the file attribute query string for copying to @file.

This function prepares an attribute query string to be passed to g_file_query_info() to get a list of attributes normally copied with the file (see g_file_copy_attributes() for the detailed description). This function is used by the implementation of g_file_copy_attributes() and is useful when one needs to query and set the attributes in two stages (e.g., for recursive move of a directory).

Return

an attribute query string for g_file_query_info(), or null if an error occurs.

Since

2.68

Parameters

flags

a set of #GFileCopyFlags

cancellable

optional #GCancellable object, null to ignore