MkdirOptions

data class MkdirOptions(val recursive: Boolean = false, val mode: Int = 1911)

Options: fs.mkdir and fs.mkdirSync

Describes options which can be passed to mkdir or mkdirSync.

Parameters

recursive

Whether to create parent directories if they do not exist; defaults to false.

mode

The mode to use for the directory creation; defaults to 0o777.

Constructors

Link copied to clipboard
constructor(recursive: Boolean = false, mode: Int = 1911)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val mode: Int = 1911
Link copied to clipboard
val recursive: Boolean = false