summaryrefslogtreecommitdiff
path: root/std/node/fs.ts
diff options
context:
space:
mode:
authorali ahmed <48116123+AliBasicCoder@users.noreply.github.com>2020-10-06 07:35:22 +0200
committerGitHub <noreply@github.com>2020-10-06 01:35:22 -0400
commit40324ff74816a99ea061929ece1c6a4ff3078bc3 (patch)
tree1eb11554820f419f7db500272a0f6a2aef1b9532 /std/node/fs.ts
parenta51408a4bc1621d27241377ac1662944d8c14fc0 (diff)
feat(std/node/fs): adding readdir, rename, and some others (#7666)
Diffstat (limited to 'std/node/fs.ts')
-rw-r--r--std/node/fs.ts25
1 files changed, 25 insertions, 0 deletions
diff --git a/std/node/fs.ts b/std/node/fs.ts
index adb3a7c63..fd8989c5b 100644
--- a/std/node/fs.ts
+++ b/std/node/fs.ts
@@ -11,6 +11,15 @@ import { exists, existsSync } from "./_fs/_fs_exists.ts";
import { mkdir, mkdirSync } from "./_fs/_fs_mkdir.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";
+import { rename, renameSync } from "./_fs/_fs_rename.ts";
+import { rmdir, rmdirSync } from "./_fs/_fs_rmdir.ts";
+import { unlink, unlinkSync } from "./_fs/_fs_unlink.ts";
+import { watch } from "./_fs/_fs_watch.ts";
+import { open, openSync } from "./_fs/_fs_open.ts";
+import { stat, statSync } from "./_fs/_fs_stat.ts";
+import { lstat, lstatSync } from "./_fs/_fs_lstat.ts";
+
import * as promises from "./_fs/promises/mod.ts";
export {
@@ -29,13 +38,29 @@ export {
copyFileSync,
exists,
existsSync,
+ // not sure about those
+ lstat,
+ lstatSync,
mkdir,
mkdirSync,
+ open,
+ openSync,
promises,
+ readdir,
+ readdirSync,
readFile,
readFileSync,
readlink,
readlinkSync,
+ rename,
+ renameSync,
+ rmdir,
+ rmdirSync,
+ stat,
+ statSync,
+ unlink,
+ unlinkSync,
+ watch,
writeFile,
writeFileSync,
};