GFileMeasureFlags

Flags that can be used with gio.file.File.measureDiskUsage.

Values

ValueMeaning
None0

No flags set.

ReportAnyError2

Report any error encountered while traversing the directory tree. Normally errors are only reported for the toplevel file.

ApparentSize4

Tally usage based on apparent file sizes. Normally, the block-size is used, if available, as this is a more accurate representation of disk space used. Compare with du --apparent-size. Since GLib 2.78. and similarly to du since GNU Coreutils 9.2, this will ignore the sizes of file types other than regular files and links, as the sizes of other file types are not specified in a standard way.

NoXdev8

Do not cross mount point boundaries. Compare with du -x.