makeDirectory

open fun makeDirectory(cancellable: Cancellable? = null): <Error class: unknown class><Boolean>

Creates a directory. Note that this will only create a child directory of the immediate parent directory of the path or URI given by the #GFile. To recursively create directories, see g_file_make_directory_with_parents(). This function will fail if the parent directory does not exist, setting

Return

true on successful creation, false otherwise.

Parameters

cancellable

optional #GCancellable object, null to ignore