FileInfo.getAttributeData

Gets the attribute type, value and status for an attribute key.

class FileInfo
int
getAttributeData

Parameters

attribute string

a file attribute key

type GFileAttributeType

return location for the attribute type, or NULL. out[allow-none]

valuePp void*

return location for the attribute value, or NULL. out[allow-none]

status GFileAttributeStatus

return location for the attribute status, or NULL. out[allow-none]

Return Value

Type: int

TRUE if info has an attribute named attribute, FALSE otherwise. [transfer none]

Meta