Gio.FileInfo.prototype.list_attributes

function list_attributes(name_space: String): Array(String) {
    // Gjs wrapper for g_file_info_list_attributes()
}
  

Lists the file info structure's attributes.

name_space

a file attribute key's namespace.

Returns

a null-terminated array of strings of all of the possible attribute types for the given name_space, or null on error.