build_attribute_list_for_copy


Description:

[ Version ( since = "2.68" ) ]
public string build_attribute_list_for_copy (FileCopyFlags flags, Cancellable? cancellable = null) throws Error

Prepares the file attribute query string for copying to this.

This function prepares an attribute query string to be passed to query_info to get a list of attributes normally copied with the file (see copy_attributes for the detailed description). This function is used by the implementation of 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).

Parameters:

this

a File to copy attributes to

flags

a set of FileCopyFlags

cancellable

optional Cancellable object, null to ignore

Returns:

an attribute query string for query_info, or null if an error occurs.