open fun mkdirs(path: String, handler: Handler<AsyncResult<Void>>): FileSystem
Create the directory represented by path and any non existent parents, asynchronously.
The operation will fail if the directory already exists.
handler - the handler that will be called on completion
Return
a reference to this, so the API can be used fluently
open fun mkdirs(path: String, perms: String, handler: Handler<AsyncResult<Void>>): FileSystem
Create the directory represented by path and any non existent parents, 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.
perms - the permissions string
handler - the handler that will be called on completion
Return
a reference to this, so the API can be used fluently