core: Drop unix::is-mountpoint from fast queryinfo flags

If this is present, we call access() and stat() on the parent
directory.
This commit is contained in:
Colin Walters 2011-12-22 11:07:55 -05:00
parent d25f1bf73d
commit 0018b6d75f

View File

@ -27,7 +27,12 @@
G_BEGIN_DECLS
#define OSTREE_GIO_FAST_QUERYINFO "standard::name,standard::type,standard::is-symlink,standard::symlink-target,standard::is-hidden,unix::*"
/* Basically the stuff that comes from stat() and cheap calls like
* readlink(). Other things require opening the file, or also
* stat()ing the parent directory.
*/
#define OSTREE_GIO_FAST_QUERYINFO ("standard::name,standard::type,standard::is-symlink,standard::symlink-target,standard::is-hidden," \
"unix::device,unix::inode,unix::mode,unix::uid,unix::gid,unix::rdev")
GFileType ot_gfile_type_for_mode (guint32 mode);