[ Version ( since = "3.0" ) ]
public async FolderInfo? create_folder (string? parent_name, string folder_name, int io_priority, Cancellable? cancellable = null) throws Error
Asynchronously creates a new folder as a child of an existing folder.
parent_name
can be null to create a new top-level folder.
When the operation is finished, callback
will be called. You can then call create_folder.end to
get the result of the operation.
this |
a Store |
parent_name |
name of the new folder's parent, or null |
folder_name |
name of the folder to create |
io_priority |
the I/O priority of the request |
cancellable |
optional Cancellable object, or null |
callback |
a TaskReadyCallback to call when the request is satisfied |
user_data |
data to pass to the callback function |