Gio.FileAttributeInfoList.prototype.lookup

function lookup(name: String): Gio.FileAttributeInfo {
    // Gjs wrapper for g_file_attribute_info_list_lookup()
}
  

Gets the file attribute with the name name from list.

name

the name of the attribute to lookup.

Returns

a Gio.FileAttributeInfo for the name, or null if an attribute isn't found.