Gio.FileInfo.prototype.get_attribute_data
function get_attribute_data(attribute: String): [ok: Boolean, type: Gio.FileAttributeType, value_pp: void, status: Gio.FileAttributeStatus] { // Gjs wrapper for g_file_info_get_attribute_data() }
Gets the attribute type, value and status for an attribute key.
- attribute
a file attribute key
- ok
true if info has an attribute named attribute, false otherwise.
- type
return location for the attribute type, or null
- value_pp
return location for the attribute value, or null
- status
return location for the attribute status, or null