Passa al contenuto principale

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/llamaindex/src/storage/FileSystem.ts:25