Skip to main content

Function: walk()

walk(dirPath): AsyncIterable<string>

Recursively traverses a directory and yields all the paths to the files in it.

Parameters

dirPath: string

The path to the directory to traverse.

Returns

AsyncIterable<string>

Source

packages/core/src/storage/FileSystem.ts:25