Ana içeriğe geç

Function: walk()

walk(fs, dirPath): AsyncIterable<string>

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

Parameters

fs: WalkableFileSystem

The filesystem to use.

dirPath: string

The path to the directory to traverse.

Returns

AsyncIterable<string>

Source

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