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

Function displayFolderPath

apps/sim/lib/copilot/vfs/resource-writer.ts:69–71  ·  view source on GitHub ↗
(segments: string[])

Source from the content-addressed store, hash-verified

67 }
68
69function displayFolderPath(segments: string[]): string {
70 return segments.length > 0 ? `files/${segments.join('/')}` : 'files/'
71}
72
73export function parseWorkspaceFileCreatePath(path: string): {
74 folderSegments: string[]

Callers 1

resolveCreateTargetFunction · 0.85

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected