FileT.measureDiskUsageAsync

Recursively measures the disk usage of @file.

This is the asynchronous version of g_file_measure_disk_usage(). See there for more information.

template FileT(TStruct)
void
measureDiskUsageAsync
(
GFileMeasureFlags flags
,,
Cancellable cancellable
,
GFileMeasureProgressCallback progressCallback
,,
GAsyncReadyCallback callback
,
void* userData
)

Parameters

flags GFileMeasureFlags

#GFileMeasureFlags

ioPriority int

the [I/O priority][io-priority] of the request

cancellable Cancellable

optional #GCancellable

progressCallback GFileMeasureProgressCallback

a #GFileMeasureProgressCallback

progressData void*

user_data for @progress_callback

callback GAsyncReadyCallback

a #GAsyncReadyCallback to call when complete

userData void*

the data to pass to callback function

Meta

Since

2.38