import { type Deno } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.deno.ns.d.ts";
const { MakeTempOptions } = Deno;
Options which can be set when using Deno.makeTempDir
,
Deno.makeTempDirSync
, Deno.makeTempFile
, and
Deno.makeTempFileSync
.
Properties
Directory where the temporary directory should be created (defaults to
the env variable TMPDIR
, or the system's default, usually /tmp
).
Note that if the passed dir
is relative, the path returned by
makeTempFile()
and makeTempDir()
will also be relative. Be mindful of
this when changing working directory.
String that should precede the random portion of the temporary directory's name.