Gio.File.measure_disk_usage_async
Description: Reference for Gio.File.measure_disk_usage_async

### Virtual Method

# Gio Filemeasure_disk_usage_async

since: 2.38

#### Declaration [src]

    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 [src]

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: `GFileMeasureFlags`

  `GFileMeasureFlags`.

`io_priority`

  Type: `gint`

  The I/O priority of the request.

`cancellable`

  Type: `GCancellable`

  Optional `GCancellable`.

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

`progress_callback`

  Type: `GFileMeasureProgressCallback`

  A `GFileMeasureProgressCallback`.

`progress_data`

  Type: `gpointer`

  User_data for `progress_callback`.

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

`callback`

  Type: `GAsyncReadyCallback`

  A `GAsyncReadyCallback` to call when complete.

`user_data`

  Type: `gpointer`

  The data to pass to callback function.

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