PersistentAI API Documentation / @persistentai/fireflow-vfs / server / buildTreeNodeFromPath
Function: buildTreeNodeFromPath()
buildTreeNodeFromPath(
repoName,branch,path):Promise<TreeNode>
Defined in: packages/fireflow-vfs/src/utils/tree-helpers.ts:24
Build a complete TreeNode by querying lakeFS for metadata
This ensures events contain complete, accurate metadata from lakeFS rather than reconstructing it on the frontend.
Parameters
repoName
string
lakeFS repository name
branch
string
Branch name
path
string
File/directory path
Returns
Promise<TreeNode>
Complete TreeNode with all metadata