mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -05:00
Add JSDocs to std/fs/walk.ts (#8426)
This commit is contained in:
parent
60d9ab08db
commit
a1852d38cf
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue