mirror of
https://github.com/ostreedev/ostree.git
synced 2025-02-20 01:59:07 +03:00
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:
parent
d25f1bf73d
commit
0018b6d75f
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user