/* Returns: TRUE if the file is a hidden file, FALSE otherwise.  */
gboolean g_file_info_get_is_hidden(GFileInfo *info)
/* Returns: TRUE if the file is a hidden file, FALSE otherwise.  */
gboolean g_file_info_get_is_hidden(GFileInfo *info)
{
  static guint32 attr = 0;
  GFileAttributeValue *value;
  g_return_val_if_fail (G_IS_FILE_INFO (info), FALSE);
  if (attr == 0)
    attr = lookup_attribute (G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN);
  value = g_file_info_find_value (info, attr);
  return (GFileType)_g_file_attribute_value_get_boolean (value);
}