FileInfo.getAttributeType

Gets the attribute type for an attribute key.

class FileInfo
getAttributeType
(
string attribute
)

Parameters

attribute string

a file attribute key.

Return Value

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