:right-sidebar: True FileMeasureFlags =================================================================== .. currentmodule:: gi.repository.Gio .. versionadded:: 2.38 .. class:: FileMeasureFlags :no-contents-entry: Flags that can be used with :func:`~gi.repository.Gio.File.measure_disk_usage`. Fields ------ .. rst-class:: interim-class .. class:: FileMeasureFlags :no-index: .. attribute:: 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. .. attribute:: NONE No flags set. .. attribute:: NO_XDEV Do not cross mount point boundaries. Compare with `du -x`. .. attribute:: REPORT_ANY_ERROR Report any error encountered while traversing the directory tree. Normally errors are only reported for the toplevel file.