summaryrefslogtreecommitdiff
path: root/std/node/fs.ts
diff options
context:
space:
mode:
authorLouis-Philippe Perron <32278+lp@users.noreply.github.com>2020-12-28 15:58:58 -0500
committerGitHub <noreply@github.com>2020-12-28 21:58:58 +0100
commit34513c032cb96dd9f80647d5d19db5ba55cfdb0b (patch)
tree1a82e35daf330371be1352d9336de7d3bb5e1abe /std/node/fs.ts
parent091059450eab50c1975fb0d3ecd4fcdefcb22b76 (diff)
feat(std/node): adds fs.mkdtemp & fs.mkdtempSync (#8604)
Diffstat (limited to 'std/node/fs.ts')
-rw-r--r--std/node/fs.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/std/node/fs.ts b/std/node/fs.ts
index 38682d3c4..1eaafa788 100644
--- a/std/node/fs.ts
+++ b/std/node/fs.ts
@@ -9,6 +9,7 @@ import { readFile, readFileSync } from "./_fs/_fs_readFile.ts";
import { readlink, readlinkSync } from "./_fs/_fs_readlink.ts";
import { exists, existsSync } from "./_fs/_fs_exists.ts";
import { mkdir, mkdirSync } from "./_fs/_fs_mkdir.ts";
+import { mkdtemp, mkdtempSync } from "./_fs/_fs_mkdtemp.ts";
import { copyFile, copyFileSync } from "./_fs/_fs_copy.ts";
import { writeFile, writeFileSync } from "./_fs/_fs_writeFile.ts";
import { readdir, readdirSync } from "./_fs/_fs_readdir.ts";
@@ -43,6 +44,8 @@ export default {
lstatSync,
mkdir,
mkdirSync,
+ mkdtemp,
+ mkdtempSync,
open,
openSync,
promises,
@@ -87,6 +90,8 @@ export {
lstatSync,
mkdir,
mkdirSync,
+ mkdtemp,
+ mkdtempSync,
open,
openSync,
promises,