create_dir


Description:

[ Version ( since = "0.17.0" ) ]
public bool create_dir (string path, bool recursive) throws Error

Create a directory and subdirectories.

This function succeeds if the directory already exists.

Parameters:

this

A FileSystem.

path

The paths of the directory.

recursive

Whether creating directory recursively or not.

Returns:

true on success, false if there was an error.