Gio.FileInfo.prototype.remove_attribute

function remove_attribute(attribute: String): void {
    // Gjs wrapper for g_file_info_remove_attribute()
}
  

Removes all cases of attribute from info if it exists.

attribute

a file attribute key.