FILE_ATTRIBUTE_STANDARD_COPY_NAME


Description:

[ Version ( deprecated_since = "vala-0.16" , deprecated = true , replacement = "FileAttribute.STANDARD_COPY_NAME" ) ]
public const unowned string FILE_ATTRIBUTE_STANDARD_COPY_NAME

Warning: FILE_ATTRIBUTE_STANDARD_COPY_NAME is deprecated since "vala-0.16". Use GLib.FileAttribute.STANDARD_COPY_NAME.

A key in the "standard" namespace for getting the copy name of the file.

The copy name is an optional version of the name. If available it's always in UTF8, and corresponds directly to the original filename (only transcoded to UTF8). This is useful if you want to copy the file to another filesystem that might have a different encoding. If the filename is not a valid string in the encoding selected for the filesystem it is in then the copy name will not be set.

Corresponding FileAttributeType is g_file_attribute_type_string.


Namespace: GLib
Package: gio-2.0