Gio.FileInfo.prototype.get_attribute_byte_string

function get_attribute_byte_string(attribute: String): String {
    // Gjs wrapper for g_file_info_get_attribute_byte_string()
}
  

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

attribute

a file attribute key.

Returns

the contents of the attribute value as a byte string, or null otherwise.