diff options
author | inokawa <48897392+inokawa@users.noreply.github.com> | 2020-11-19 20:53:43 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-19 06:53:43 -0500 |
commit | a1852d38cf82d24dcb0006cf69697b0472b99bf5 (patch) | |
tree | 74ce2b4013ae0a9c34bd81a02fcb50bf066bb0fe | |
parent | 60d9ab08dbcf2b9874206bc8411a25ca44e8118e (diff) |
Add JSDocs to std/fs/walk.ts (#8426)
-rw-r--r-- | std/fs/walk.ts | 2 |
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); |