PersistentAI API Documentation / @persistentai/fireflow-vfs / server / listObjectsRecursive
Function: listObjectsRecursive()
listObjectsRecursive(
repoName,ref,path?,after?,amount?):Promise<ObjectStatsList>
Defined in: packages/fireflow-vfs/src/steps/lakefs-steps.ts:585
List ALL objects recursively under a prefix (no delimiter)
Unlike listObjects which returns immediate children only, this function returns ALL nested files by omitting the delimiter. This is required for directory move operations to capture nested files.
Note: Only returns actual objects (files), not common_prefix entries.
Parameters
repoName
string
ref
string
path?
string = ''
after?
string
amount?
number
Returns
Promise<ObjectStatsList>
ObjectStatsList with all nested objects