行走
walk(
dirPath):AsyncIterable<string>
定义于:.build/typescript/packages/llamaindex/src/storage/FileSystem.ts:24
递归遍历目录并生成其中所有文件的路径。
dirPath
Section titled “dirPath”string
要遍历的目录路径。
AsyncIterable<string>
walk(
dirPath):AsyncIterable<string>
定义于:.build/typescript/packages/llamaindex/src/storage/FileSystem.ts:24
递归遍历目录并生成其中所有文件的路径。
string
要遍历的目录路径。
AsyncIterable<string>