MCPcopy Index your code
hub / github.com/simstudioai/sim / buildFolderPaths

Method buildFolderPaths

apps/sim/lib/copilot/vfs/workspace-vfs.ts:1145–1149  ·  view source on GitHub ↗

* Build a map from folderId to its full VFS path segment (e.g. "My Folder/Sub Folder"). * Handles nested folders via parentId traversal.

(
    folders: Array<{ folderId: string; folderName: string; parentId: string | null }>
  )

Source from the content-addressed store, hash-verified

1143 * Handles nested folders via parentId traversal.
1144 */
1145 private buildFolderPaths(
1146 folders: Array<{ folderId: string; folderName: string; parentId: string | null }>
1147 ): Map<string, string> {
1148 return buildVfsFolderPathMap(folders)
1149 }
1150
1151 /**
1152 * Resolve the set of folder IDs that are effectively locked — locked directly

Callers 1

materializeWorkflowsMethod · 0.95

Calls 1

buildVfsFolderPathMapFunction · 0.90

Tested by

no test coverage detected