MkdirOptions class

Options which can be set when using {@linkcode Deno.mkdir} and {@linkcode Deno.mkdirSync}.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

MkdirOptions({bool? recursive, num? mode})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
mode num?

Available on MkdirOptions, provided by the MkdirOptions$Typings extension

Permissions to use when creating the directory (defaults to 0o777, before the process's umask).
getter/setter pair
recursive bool?

Available on MkdirOptions, provided by the MkdirOptions$Typings extension

If set to true, means that any intermediate directories will also be created (as with the shell command mkdir -p).
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited