From 34513c032cb96dd9f80647d5d19db5ba55cfdb0b Mon Sep 17 00:00:00 2001 From: Louis-Philippe Perron <32278+lp@users.noreply.github.com> Date: Mon, 28 Dec 2020 15:58:58 -0500 Subject: feat(std/node): adds fs.mkdtemp & fs.mkdtempSync (#8604) --- std/node/fs.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'std/node/fs.ts') 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, -- cgit v1.2.3