Add JSDocs to fs/walk.ts (denoland/deno#8426)

This commit is contained in:
inokawa 2020-11-19 20:53:43 +09:00 committed by denobot
parent 53fc2a46ed
commit 7e03229caf

View File

@ -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);