Virtual Method
GioFilemeasure_disk_usage_async
since: 2.38
Declaration
void
measure_disk_usage_async (
GFile* file,
GFileMeasureFlags flags,
gint io_priority,
GCancellable* cancellable,
GFileMeasureProgressCallback progress_callback,
gpointer progress_data,
GAsyncReadyCallback callback,
gpointer user_data
)
Description
Recursively measures the disk usage of file.
This is the asynchronous version of g_file_measure_disk_usage(). See there for more information.
Available since: 2.38
Parameters
flags-
Type:
GFileMeasureFlagsGFileMeasureFlags. io_priority-
Type:
gintThe [I/O priority][io-priority] of the request.
cancellable-
Type:
GCancellableOptional
GCancellable.The argument can be NULL.The data is owned by the caller of the method. progress_callback-
Type:
GFileMeasureProgressCallbackA
GFileMeasureProgressCallback. progress_data-
Type:
gpointerUser_data for
progress_callback.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallbackto call when complete. user_data-
Type:
gpointerThe data to pass to callback function.
The argument can be NULL.The data is owned by the caller of the method.