Gio.FileInfo.prototype.set_attribute_boolean

function set_attribute_boolean(attribute: String, attr_value: Boolean): void {
    // Gjs wrapper for g_file_info_set_attribute_boolean()
}
  

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

attribute

a file attribute key.

attr_value

a boolean value.