-
Notifications
You must be signed in to change notification settings - Fork 16
/
deno_temp.deno.txt
21 lines (13 loc) · 1.63 KB
/
deno_temp.deno.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DENO_TEMP
ALTERNATIVES ==> #See node-tmp
VERSION ==> #Part of Deno
Deno.makeTempFile([OPTS])
->>'PATH' W#Create a temp file.
Deno.makeTempFileSync(...) #Filename is 8 random hex chars.
Deno.makeTempDir([OPTS])->>'PATH'
Deno.makeTempDirSync(...) W#Same with a temp DIR
OPTS.dir #'DIR'. Def: ENVVAR TMPDIR, or system default (/tmp on Linux)
#Return 'PATH' is relative or absolute (def) depending on whether 'DIR' is
OPTS.prefix|suffix #STR (def: ''). To the filename