measure_disk_usage_async


Description:

[ Version ( since = "2.38" ) ]
public virtual async bool measure_disk_usage_async (FileMeasureFlags flags, int io_priority, Cancellable? cancellable, FileMeasureProgressCallback? progress_callback, out uint64 disk_usage, out uint64 num_dirs, out uint64 num_files) throws Error

Recursively measures the disk usage of this.

This is the asynchronous version of measure_disk_usage. See there for more information.

Parameters:

this

a File

flags

FileMeasureFlags

io_priority

the I/O priority of the request

cancellable

optional Cancellable

progress_callback

a FileMeasureProgressCallback

callback

a TaskReadyCallback to call when complete

progress_data

user_data for progress_callback

user_data

the data to pass to callback function