FileMeasureFlags

Added in version 2.38.

class FileMeasureFlags

Flags that can be used with measure_disk_usage().

Fields

class FileMeasureFlags
APPARENT_SIZE

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.

NONE

No flags set.

NO_XDEV

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

REPORT_ANY_ERROR

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