walk
walk(
dirPath):AsyncIterable<string>
Defined in: .build/typescript/packages/llamaindex/src/storage/FileSystem.ts:24
Recursively traverses a directory and yields all the paths to the files in it.
Parameters
Section titled “Parameters”dirPath
Section titled “dirPath”string
The path to the directory to traverse.
Returns
Section titled “Returns”AsyncIterable<string>