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>

Defined in

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