Always report metadata on the path, not symlink target
authorAlexander Larsson <alexl@redhat.com>
Mon, 28 Sep 2009 13:55:44 +0000 (15:55 +0200)
committerAlexander Larsson <alexl@redhat.com>
Mon, 28 Sep 2009 13:55:44 +0000 (15:55 +0200)
commit6f1ce483eb136159f42b7dde3aa4466ba3e874c1
tree466145de0040eae8ade83c809f3abe151ee173e9
parent70027bf0928e7960c3ff78ce4a92aaad20ee899e
Always report metadata on the path, not symlink target

Metadata are really part of the pathname, not the target file
(as they are stored by pathname, and for many metadata like icon position
etc make not sense using the target data). So, even if nofollow
is not specified we should not follow links for metadata.

Ideally this should be implemented in the metadata extension in gvfs,
but the extension API does not allow this, so we do it in gio.

See https://bugzilla.gnome.org/show_bug.cgi?id=593809
gio/glocalfileinfo.c