MakeTempOptions class

Options which can be set when using {@linkcode Deno.makeTempDir}, {@linkcode Deno.makeTempDirSync}, {@linkcode Deno.makeTempFile}, and {@linkcode Deno.makeTempFileSync}.

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

Constructors

MakeTempOptions.new({String? dir, String? prefix, String? suffix})
factory

Properties

dir String?

Available on MakeTempOptions, provided by the MakeTempOptions$Typings extension

Directory where the temporary directory should be created (defaults to the env variable TMPDIR, or the system's default, usually /tmp).
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
prefix String?

Available on MakeTempOptions, provided by the MakeTempOptions$Typings extension

String that should precede the random portion of the temporary directory's name.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suffix String?

Available on MakeTempOptions, provided by the MakeTempOptions$Typings extension

String that should follow the random portion of the temporary directory's name.
getter/setter pair

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