summaryrefslogtreecommitdiff
path: root/std/fs/walk.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/fs/walk.ts')
-rw-r--r--std/fs/walk.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/std/fs/walk.ts b/std/fs/walk.ts
index 4ae85ff75..47e7e7afa 100644
--- a/std/fs/walk.ts
+++ b/std/fs/walk.ts
@@ -4,6 +4,7 @@
import { assert } from "../_util/assert.ts";
import { basename, join, normalize } from "../path/mod.ts";
+/** Create WalkEntry for the `path` synchronously */
export function _createWalkEntrySync(path: string): WalkEntry {
path = normalize(path);
const name = basename(path);
@@ -17,6 +18,7 @@ export function _createWalkEntrySync(path: string): WalkEntry {
};
}
+/** Create WalkEntry for the `path` asynchronously */
export async function _createWalkEntry(path: string): Promise<WalkEntry> {
path = normalize(path);
const name = basename(path);