vertx / io.vertx.rxjava.core.file / FileSystem / rxMkdir

# rxMkdir

`open fun rxMkdir(path: String): Single<Void>`

Create the directory represented by `path`, asynchronously.

The operation will fail if the directory already exists.

### Parameters

`path` - path to the file

Return

`open fun rxMkdir(path: String, perms: String): Single<Void>`

Create the directory represented by `path`, asynchronously.

The new directory will be created with permissions as specified by `perms`.

The permission String takes the form rwxr-x--- as specified in here.

The operation will fail if the directory already exists.

### Parameters

`path` - path to the file

`perms` - the permissions string

Return