File.measureDiskUsageFinish

Collects the results from an earlier call to g_file_measure_disk_usage_async(). See g_file_measure_disk_usage() for more information. Since 2.38

class File
int
measureDiskUsageFinish
(,
out ulong diskUsage
,
out ulong numDirs
,
out ulong numFiles
)

Parameters

result AsyncResultIF

the GAsyncResult passed to your GAsyncReadyCallback

diskUsage ulong

the number of bytes of disk space used. [allow-none]out

numDirs ulong

the number of directories encountered. [allow-none]out

numFiles ulong

the number of non-directories encountered. [allow-none]out

Return Value

Type: int

TRUE if successful, with the out parameters set. FALSE otherwise, with error set.

Throws

GException on failure.

Meta