Method

GioFilemeasure_disk_usage_async

Declaration

void
g_file_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
This method is not directly available to language bindings.

Parameters

flags GFileMeasureFlags
 

GFileMeasureFlags.

io_priority gint
 

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

cancellable GCancellable
 

Optional GCancellable.

 The argument can be NULL.
 The data is owned by the caller of the function.
progress_callback GFileMeasureProgressCallback
 

A GFileMeasureProgressCallback.

 The argument can be NULL.
progress_data gpointer
 

User_data for progress_callback.

 The argument can be NULL.
 The data is owned by the caller of the function.
callback GAsyncReadyCallback
 

A GAsyncReadyCallback to call when complete.

 The argument can be NULL.
user_data gpointer
 

The data to pass to callback function.

 The argument can be NULL.
 The data is owned by the caller of the function.