create_folder_sync


Description:

[ Version ( since = "3.0" ) ]
public virtual FolderInfo? create_folder_sync (string? parent_name, string folder_name, Cancellable? cancellable = null) throws Error

Creates a new folder as a child of an existing folder.

parent_name can be null to create a new top-level folder. The returned FolderInfo struct should be freed with free.

Parameters:

this

a Store

parent_name

name of the new folder's parent, or null

folder_name

name of the folder to create

cancellable

optional Cancellable object, or null

Returns:

info about the created folder, or null on error