core: Add standard::size to info we get from archives

This makes "ostree ls" show the file size.
This commit is contained in:
Colin Walters committed 2012-01-19 09:54:09 -05:00
1 parent 47e94305a1
commit 39fe050f04
2 files changed
+19 -1

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ G_BEGIN_DECLS
* 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," \
#define OSTREE_GIO_FAST_QUERYINFO ("standard::name,standard::type,standard::size,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);