Gio.FileInfo.prototype.get_attribute_stringv

function get_attribute_stringv(attribute: String): Array(String) {
    // Gjs wrapper for g_file_info_get_attribute_stringv()
}
  

Gets the value of a stringv attribute. If the attribute does not contain a stringv, null will be returned.

Since 2.22

attribute

a file attribute key.

Returns

the contents of the attribute value as a stringv, or null otherwise. Do not free. These returned strings are UTF-8.