Gio.FileInfo.prototype.set_attribute_int32

function set_attribute_int32(attribute: String, attr_value: Number(gint32)): void {
    // Gjs wrapper for g_file_info_set_attribute_int32()
}
  

Sets the attribute to contain the given attr_value, if possible.

attribute

a file attribute key.

attr_value

a signed 32-bit integer