Gio.FileInfo.prototype.get_attribute_string
function get_attribute_string(attribute: String): String { // Gjs wrapper for g_file_info_get_attribute_string() }
Gets the value of a string attribute. If the attribute does not contain a string, null will be returned.
- attribute
a file attribute key.
- Returns
the contents of the attribute value as a UTF-8 string, or null otherwise.