std@0.139.0/fs/walk.ts

Deno standard library
GitHub Stars
2199
Go to latest
import * as mod from "https://deno.land/std@0.139.0/fs/walk.ts";

Functions

_createWalkEntry

Create WalkEntry for the path asynchronously

_createWalkEntrySync

Create WalkEntry for the path synchronously

walk

Walks the file tree rooted at root, yielding each file or directory in the tree filtered according to the given options. The files are walked in lexical order, which makes the output deterministic but means that for very large directories walk() can be inefficient.

walkSync

Same as walk() but uses synchronous ops