FileInfo.getAttributeType

Gets the attribute type for an attribute key.

class FileInfo
getAttributeType
(
string attribute
)

Parameters

attribute string

a file attribute key.

Return Value

Type: gio.types.FileAttributeType

a #GFileAttributeType for the given attribute, or gio.types.FileAttributeType.Invalid if the key is not set.