Skip to main content

fs.makedirectoryoptions

@listenai/lisa_core / Exports / fs / MakeDirectoryOptions

Interface: MakeDirectoryOptions

fs.MakeDirectoryOptions

Table of contents#

Properties#

Properties#

mode#

Optional mode: Mode

A file mode. If a string is passed, it is parsed as an octal integer. If not specified

default 0o777

Defined in#

node_modules/@types/node/fs.d.ts:986


recursive#

Optional recursive: boolean

Indicates whether parent folders should be created. If a folder was created, the path to the first created folder will be returned.

default false

Defined in#

node_modules/@types/node/fs.d.ts:981

  • 没帮助 0