From e23f33de7bdf2a20aa72ad222dfbea75c7332a7c Mon Sep 17 00:00:00 2001 From: Ali Hasani Date: Sun, 12 Apr 2020 23:04:16 +0430 Subject: add copyFile & copyFileSync to std/node/fs (#4726) --- std/node/fs.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'std/node/fs.ts') diff --git a/std/node/fs.ts b/std/node/fs.ts index 4267fdb2b..343786e24 100755 --- a/std/node/fs.ts +++ b/std/node/fs.ts @@ -10,6 +10,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 { copyFile, copyFileSync } from "./_fs/_fs_copy.ts"; export { access, @@ -23,6 +24,8 @@ export { close, closeSync, constants, + copyFile, + copyFileSync, exists, existsSync, readFile, -- cgit v1.2.3