Gio.FileInfo.prototype.get_attribute_int32
function get_attribute_int32(attribute: String): Number(gint32) { // Gjs wrapper for g_file_info_get_attribute_int32() }
Gets a signed 32-bit integer contained within the attribute. If the attribute does not contain a signed 32-bit integer, or is invalid, 0 will be returned.
- attribute
a file attribute key.
- Returns
a signed 32-bit integer from the attribute.