/* Returns: a string containing the value of the "etag:value" attribute.  */
const char* g_file_info_get_etag(GFileInfo *info)
/* Returns: a string containing the value of the "etag:value" attribute.  */
const char* g_file_info_get_etag(GFileInfo *info)
{
  static guint32 attr = 0;
  GFileAttributeValue *value;
  g_return_val_if_fail (G_IS_FILE_INFO (info), NULL);
  if (attr == 0)
    attr = lookup_attribute (G_FILE_ATTRIBUTE_ETAG_VALUE);
  value = g_file_info_find_value (info, attr);
  return _g_file_attribute_value_get_string (value);
}