Gio.FileInfo.prototype.set_attribute_string

function set_attribute_string(attribute: String, attr_value: String): void {
    // Gjs wrapper for g_file_info_set_attribute_string()
}
  

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

attribute

a file attribute key.

attr_value

a UTF-8 string.