FileInfo.getAttributeType

Gets the attribute type for an attribute key.

class FileInfo
GFileAttributeType
getAttributeType
(
string attribute
)

Parameters

attribute string

a file attribute key.

Return Value

Type: GFileAttributeType

a #GFileAttributeType for the given @attribute, or %G_FILE_ATTRIBUTE_TYPE_INVALID if the key is not set.

Meta