Gio.FileInfo.prototype.set_attribute_byte_string

function set_attribute_byte_string(attribute: String, attr_value: String): void {
    // Gjs wrapper for g_file_info_set_attribute_byte_string()
}
  

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

attribute

a file attribute key.

attr_value

a byte string.