FileIF.measureDiskUsageFinish

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

interface FileIF
bool
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

numDirs ulong

the number of directories encountered

numFiles ulong

the number of non-directories encountered

Return Value

Type: bool

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

Throws

GException on failure.

Meta

Since

2.38