FileInfo.getAttributeType

gio.types.FileAttributeType getAttributeType(string attribute)

Gets the attribute type for an attribute key.

Parameters

attributea file attribute key.

Returns

a #GFileAttributeType for the given attribute, or

[gio.types.FileAttributeType.Invalid] if the key is not set.